Skip to content

Commit 1a8404a

Browse files
author
Vincent Moens
committed
Update (base update)
[ghstack-poisoned]
1 parent 18eb81d commit 1a8404a

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

.github/unittest/linux_examples/scripts/run_all.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -150,15 +150,15 @@ git submodule sync && git submodule update --init --recursive
150150
printf "Installing PyTorch with %s\n" "${CU_VERSION}"
151151
if [[ "$TORCH_VERSION" == "nightly" ]]; then
152152
if [ "${CU_VERSION:-}" == cpu ] ; then
153-
pip3 install --pre torch torchvision numpy==1.26.4 numpy-base==1.26.4 --index-url https://download.pytorch.org/whl/nightly/cpu -U
153+
pip3 install --pre torch torchvision numpy==1.26.4 --index-url https://download.pytorch.org/whl/nightly/cpu -U
154154
else
155-
pip3 install --pre torch torchvision numpy==1.26.4 numpy-base==1.26.4 --index-url https://download.pytorch.org/whl/nightly/$CU_VERSION
155+
pip3 install --pre torch torchvision numpy==1.26.4 --index-url https://download.pytorch.org/whl/nightly/$CU_VERSION
156156
fi
157157
elif [[ "$TORCH_VERSION" == "stable" ]]; then
158158
if [ "${CU_VERSION:-}" == cpu ] ; then
159-
pip3 install torch torchvision numpy==1.26.4 numpy-base==1.26.4 --index-url https://download.pytorch.org/whl/cpu
159+
pip3 install torch torchvision numpy==1.26.4 --index-url https://download.pytorch.org/whl/cpu
160160
else
161-
pip3 install torch torchvision numpy==1.26.4 numpy-base==1.26.4 --index-url https://download.pytorch.org/whl/$CU_VERSION
161+
pip3 install torch torchvision numpy==1.26.4 --index-url https://download.pytorch.org/whl/$CU_VERSION
162162
fi
163163
else
164164
printf "Failed to install pytorch"

.github/unittest/linux_libs/scripts_rlhf/install.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,15 @@ git submodule sync && git submodule update --init --recursive
3131
printf "Installing PyTorch with cu121"
3232
if [[ "$TORCH_VERSION" == "nightly" ]]; then
3333
if [ "${CU_VERSION:-}" == cpu ] ; then
34-
pip3 install --pre torch numpy==1.26.4 numpy-base==1.26.4 --index-url https://download.pytorch.org/whl/nightly/cpu -U
34+
pip3 install --pre torch numpy==1.26.4 --index-url https://download.pytorch.org/whl/nightly/cpu -U
3535
else
36-
pip3 install --pre torch numpy==1.26.4 numpy-base==1.26.4 --index-url https://download.pytorch.org/whl/nightly/cu121 -U
36+
pip3 install --pre torch numpy==1.26.4 --index-url https://download.pytorch.org/whl/nightly/cu121 -U
3737
fi
3838
elif [[ "$TORCH_VERSION" == "stable" ]]; then
3939
if [ "${CU_VERSION:-}" == cpu ] ; then
40-
pip3 install torch numpy==1.26.4 numpy-base==1.26.4 --index-url https://download.pytorch.org/whl/cpu
40+
pip3 install torch numpy==1.26.4 --index-url https://download.pytorch.org/whl/cpu
4141
else
42-
pip3 install torch numpy==1.26.4 numpy-base==1.26.4 --index-url https://download.pytorch.org/whl/cu121
42+
pip3 install torch numpy==1.26.4 --index-url https://download.pytorch.org/whl/cu121
4343
fi
4444
else
4545
printf "Failed to install pytorch"

.github/unittest/linux_olddeps/scripts_gym_0_13/install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ printf "Installing PyTorch with %s\n" "${CU_VERSION}"
3939
if [ "${CU_VERSION:-}" == cpu ] ; then
4040
conda install pytorch==2.0 torchvision==0.15 cpuonly -c pytorch -y
4141
else
42-
conda install pytorch==2.0.1 torchvision==0.15.2 torchaudio==2.0.2 pytorch-cuda=11.8 numpy==1.26 numpy-base==1.26 -c pytorch -c nvidia -y
42+
conda install pytorch==2.0.1 torchvision==0.15.2 torchaudio==2.0.2 pytorch-cuda=11.8 numpy==1.26 -c pytorch -c nvidia -y
4343
fi
4444

4545
# Solving circular import: https://stackoverflow.com/questions/75501048/how-to-fix-attributeerror-partially-initialized-module-charset-normalizer-has

0 commit comments

Comments
 (0)