Skip to content

Commit 5da1f65

Browse files
author
Vincent Moens
committed
[CI] Upgrade cu121 to cu124
ghstack-source-id: 4b3c9c0 Pull Request resolved: #2764
1 parent 57bdc6a commit 5da1f65

File tree

21 files changed

+61
-61
lines changed

21 files changed

+61
-61
lines changed

.github/unittest/linux_libs/scripts_ataridqn/install.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,18 +28,18 @@ fi
2828
# submodules
2929
git submodule sync && git submodule update --init --recursive
3030

31-
printf "Installing PyTorch with cu121"
31+
printf "Installing PyTorch with cu124"
3232
if [[ "$TORCH_VERSION" == "nightly" ]]; then
3333
if [ "${CU_VERSION:-}" == cpu ] ; then
3434
pip3 install --pre torch torchvision --index-url https://download.pytorch.org/whl/nightly/cpu -U
3535
else
36-
pip3 install --pre torch torchvision --index-url https://download.pytorch.org/whl/nightly/cu121 -U
36+
pip3 install --pre torch torchvision --index-url https://download.pytorch.org/whl/nightly/cu124 -U
3737
fi
3838
elif [[ "$TORCH_VERSION" == "stable" ]]; then
3939
if [ "${CU_VERSION:-}" == cpu ] ; then
4040
pip3 install torch torchvision --index-url https://download.pytorch.org/whl/cpu
4141
else
42-
pip3 install torch torchvision --index-url https://download.pytorch.org/whl/cu121
42+
pip3 install torch torchvision --index-url https://download.pytorch.org/whl/cu124
4343
fi
4444
else
4545
printf "Failed to install pytorch"

.github/unittest/linux_libs/scripts_brax/install.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,18 +25,18 @@ fi
2525
# submodules
2626
git submodule sync && git submodule update --init --recursive
2727

28-
printf "Installing PyTorch with cu121"
28+
printf "Installing PyTorch with cu124"
2929
if [[ "$TORCH_VERSION" == "nightly" ]]; then
3030
if [ "${CU_VERSION:-}" == cpu ] ; then
3131
pip3 install --pre torch --index-url https://download.pytorch.org/whl/nightly/cpu -U
3232
else
33-
pip3 install --pre torch --index-url https://download.pytorch.org/whl/nightly/cu121 -U
33+
pip3 install --pre torch --index-url https://download.pytorch.org/whl/nightly/cu124 -U
3434
fi
3535
elif [[ "$TORCH_VERSION" == "stable" ]]; then
3636
if [ "${CU_VERSION:-}" == cpu ] ; then
3737
pip3 install torch --index-url https://download.pytorch.org/whl/cpu -U
3838
else
39-
pip3 install torch --index-url https://download.pytorch.org/whl/cu121
39+
pip3 install torch --index-url https://download.pytorch.org/whl/cu124
4040
fi
4141
else
4242
printf "Failed to install pytorch"

.github/unittest/linux_libs/scripts_chess/install.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,18 +25,18 @@ fi
2525
# submodules
2626
git submodule sync && git submodule update --init --recursive
2727

28-
printf "Installing PyTorch with cu121"
28+
printf "Installing PyTorch with cu124"
2929
if [[ "$TORCH_VERSION" == "nightly" ]]; then
3030
if [ "${CU_VERSION:-}" == cpu ] ; then
3131
pip3 install --pre torch torchvision --index-url https://download.pytorch.org/whl/nightly/cpu -U
3232
else
33-
pip3 install --pre torch torchvision --index-url https://download.pytorch.org/whl/nightly/cu121 -U
33+
pip3 install --pre torch torchvision --index-url https://download.pytorch.org/whl/nightly/cu124 -U
3434
fi
3535
elif [[ "$TORCH_VERSION" == "stable" ]]; then
3636
if [ "${CU_VERSION:-}" == cpu ] ; then
3737
pip3 install torch torchvision --index-url https://download.pytorch.org/whl/cpu
3838
else
39-
pip3 install torch torchvision --index-url https://download.pytorch.org/whl/cu121
39+
pip3 install torch torchvision --index-url https://download.pytorch.org/whl/cu124
4040
fi
4141
else
4242
printf "Failed to install pytorch"

.github/unittest/linux_libs/scripts_d4rl/install.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,18 +28,18 @@ fi
2828
# submodules
2929
git submodule sync && git submodule update --init --recursive
3030

31-
printf "Installing PyTorch with cu121"
31+
printf "Installing PyTorch with cu124"
3232
if [[ "$TORCH_VERSION" == "nightly" ]]; then
3333
if [ "${CU_VERSION:-}" == cpu ] ; then
3434
pip3 install --pre torch --index-url https://download.pytorch.org/whl/nightly/cpu -U
3535
else
36-
pip3 install --pre torch --index-url https://download.pytorch.org/whl/nightly/cu121 -U
36+
pip3 install --pre torch --index-url https://download.pytorch.org/whl/nightly/cu124 -U
3737
fi
3838
elif [[ "$TORCH_VERSION" == "stable" ]]; then
3939
if [ "${CU_VERSION:-}" == cpu ] ; then
4040
pip3 install torch --index-url https://download.pytorch.org/whl/cpu
4141
else
42-
pip3 install torch --index-url https://download.pytorch.org/whl/cu121
42+
pip3 install torch --index-url https://download.pytorch.org/whl/cu124
4343
fi
4444
else
4545
printf "Failed to install pytorch"

.github/unittest/linux_libs/scripts_envpool/install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ fi
2626
# submodules
2727
git submodule sync && git submodule update --init --recursive
2828

29-
printf "Installing PyTorch with cu121"
29+
printf "Installing PyTorch with cu124"
3030
if [ "${CU_VERSION:-}" == cpu ] ; then
3131
pip3 install --pre torch --index-url https://download.pytorch.org/whl/nightly/cpu -U
3232
else
33-
pip3 install --pre torch --index-url https://download.pytorch.org/whl/nightly/cu121 -U
33+
pip3 install --pre torch --index-url https://download.pytorch.org/whl/nightly/cu124 -U
3434
fi
3535

3636
# smoke test

.github/unittest/linux_libs/scripts_gen-dgrl/install.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,18 +28,18 @@ fi
2828
# submodules
2929
git submodule sync && git submodule update --init --recursive
3030

31-
printf "Installing PyTorch with cu121"
31+
printf "Installing PyTorch with cu124"
3232
if [[ "$TORCH_VERSION" == "nightly" ]]; then
3333
if [ "${CU_VERSION:-}" == cpu ] ; then
3434
pip3 install --pre torch torchvision --index-url https://download.pytorch.org/whl/nightly/cpu -U
3535
else
36-
pip3 install --pre torch torchvision --index-url https://download.pytorch.org/whl/nightly/cu121 -U
36+
pip3 install --pre torch torchvision --index-url https://download.pytorch.org/whl/nightly/cu124 -U
3737
fi
3838
elif [[ "$TORCH_VERSION" == "stable" ]]; then
3939
if [ "${CU_VERSION:-}" == cpu ] ; then
4040
pip3 install torch torchvision --index-url https://download.pytorch.org/whl/cpu
4141
else
42-
pip3 install torch torchvision --index-url https://download.pytorch.org/whl/cu121
42+
pip3 install torch torchvision --index-url https://download.pytorch.org/whl/cu124
4343
fi
4444
else
4545
printf "Failed to install pytorch"

.github/unittest/linux_libs/scripts_habitat/install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ git submodule sync && git submodule update --init --recursive
2121

2222
printf "Installing PyTorch with %s\n" "${CU_VERSION}"
2323
if [[ "$TORCH_VERSION" == "nightly" ]]; then
24-
pip3 install --pre torch --index-url https://download.pytorch.org/whl/nightly/cu121 -U
24+
pip3 install --pre torch --index-url https://download.pytorch.org/whl/nightly/cu124 -U
2525
elif [[ "$TORCH_VERSION" == "stable" ]]; then
26-
pip3 install torch --index-url https://download.pytorch.org/whl/cu121
26+
pip3 install torch --index-url https://download.pytorch.org/whl/cu124
2727
fi
2828

2929
# install tensordict

.github/unittest/linux_libs/scripts_jumanji/install.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,18 +25,18 @@ fi
2525
# submodules
2626
git submodule sync && git submodule update --init --recursive
2727

28-
printf "Installing PyTorch with cu121"
28+
printf "Installing PyTorch with cu124"
2929
if [[ "$TORCH_VERSION" == "nightly" ]]; then
3030
if [ "${CU_VERSION:-}" == cpu ] ; then
3131
pip3 install --pre torch torchvision --index-url https://download.pytorch.org/whl/nightly/cpu -U
3232
else
33-
pip3 install --pre torch torchvision --index-url https://download.pytorch.org/whl/nightly/cu121 -U
33+
pip3 install --pre torch torchvision --index-url https://download.pytorch.org/whl/nightly/cu124 -U
3434
fi
3535
elif [[ "$TORCH_VERSION" == "stable" ]]; then
3636
if [ "${CU_VERSION:-}" == cpu ] ; then
3737
pip3 install torch torchvision --index-url https://download.pytorch.org/whl/cpu
3838
else
39-
pip3 install torch torchvision --index-url https://download.pytorch.org/whl/cu121
39+
pip3 install torch torchvision --index-url https://download.pytorch.org/whl/cu124
4040
fi
4141
else
4242
printf "Failed to install pytorch"

.github/unittest/linux_libs/scripts_meltingpot/install.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,18 +25,18 @@ fi
2525
# submodules
2626
git submodule sync && git submodule update --init --recursive
2727

28-
printf "Installing PyTorch with cu121"
28+
printf "Installing PyTorch with cu124"
2929
if [[ "$TORCH_VERSION" == "nightly" ]]; then
3030
if [ "${CU_VERSION:-}" == cpu ] ; then
3131
pip3 install --pre torch --index-url https://download.pytorch.org/whl/nightly/cpu -U
3232
else
33-
pip3 install --pre torch --index-url https://download.pytorch.org/whl/nightly/cu121 -U
33+
pip3 install --pre torch --index-url https://download.pytorch.org/whl/nightly/cu124 -U
3434
fi
3535
elif [[ "$TORCH_VERSION" == "stable" ]]; then
3636
if [ "${CU_VERSION:-}" == cpu ] ; then
3737
pip3 install torch --index-url https://download.pytorch.org/whl/cpu
3838
else
39-
pip3 install torch --index-url https://download.pytorch.org/whl/cu121
39+
pip3 install torch --index-url https://download.pytorch.org/whl/cu124
4040
fi
4141
else
4242
printf "Failed to install pytorch"

.github/unittest/linux_libs/scripts_minari/install.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,18 +28,18 @@ fi
2828
# submodules
2929
git submodule sync && git submodule update --init --recursive
3030

31-
printf "Installing PyTorch with cu121"
31+
printf "Installing PyTorch with cu124"
3232
if [[ "$TORCH_VERSION" == "nightly" ]]; then
3333
if [ "${CU_VERSION:-}" == cpu ] ; then
3434
pip3 install --pre torch --index-url https://download.pytorch.org/whl/nightly/cpu -U
3535
else
36-
pip3 install --pre torch --index-url https://download.pytorch.org/whl/nightly/cu121 -U
36+
pip3 install --pre torch --index-url https://download.pytorch.org/whl/nightly/cu124 -U
3737
fi
3838
elif [[ "$TORCH_VERSION" == "stable" ]]; then
3939
if [ "${CU_VERSION:-}" == cpu ] ; then
4040
pip3 install torch --index-url https://download.pytorch.org/whl/cpu
4141
else
42-
pip3 install torch --index-url https://download.pytorch.org/whl/cu121
42+
pip3 install torch --index-url https://download.pytorch.org/whl/cu124
4343
fi
4444
else
4545
printf "Failed to install pytorch"

0 commit comments

Comments
 (0)