Skip to content

Commit bf264e0

Browse files
author
Vincent Moens
authored
v0.2.0 branch (#1609)
1 parent fe19cf5 commit bf264e0

File tree

28 files changed

+114
-106
lines changed

28 files changed

+114
-106
lines changed

.github/unittest/linux/scripts/run_all.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,9 +124,9 @@ git submodule sync && git submodule update --init --recursive
124124
printf "Installing PyTorch with %s\n" "${CU_VERSION}"
125125
if [[ "$TORCH_VERSION" == "nightly" ]]; then
126126
if [ "${CU_VERSION:-}" == cpu ] ; then
127-
pip3 install --pre torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/nightly/cpu
127+
pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cpu
128128
else
129-
pip3 install --pre torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/nightly/$CU_VERSION
129+
pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/$CU_VERSION
130130
fi
131131
elif [[ "$TORCH_VERSION" == "stable" ]]; then
132132
if [ "${CU_VERSION:-}" == cpu ] ; then
@@ -146,7 +146,7 @@ python -c "import functorch"
146146
pip3 install git+https://github.com/pytorch/torchsnapshot
147147

148148
# install tensordict
149-
pip3 install git+https://github.com/pytorch-labs/tensordict.git
149+
pip3 install git+https://github.com/pytorch/tensordict.git
150150

151151
printf "* Installing torchrl\n"
152152
python setup.py develop

.github/unittest/linux_distributed/scripts/install.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ git submodule sync && git submodule update --init --recursive
2828

2929
printf "Installing PyTorch with %s\n" "${CU_VERSION}"
3030
if [ "${CU_VERSION:-}" == cpu ] ; then
31-
pip3 install --pre torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/nightly/cpu
31+
pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cpu
3232
else
33-
pip3 install --pre torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/nightly/$CU_VERSION
33+
pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/$CU_VERSION
3434
fi
3535

3636
# smoke test
@@ -40,7 +40,7 @@ python -c "import functorch"
4040
pip install git+https://github.com/pytorch/torchsnapshot
4141

4242
# install tensordict
43-
pip install git+https://github.com/pytorch-labs/tensordict.git
43+
pip install git+https://github.com/pytorch/tensordict.git
4444

4545
printf "* Installing torchrl\n"
4646
python setup.py develop

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ version="$(python -c "print('.'.join(\"${CUDA_VERSION}\".split('.')[:2]))")"
146146
git submodule sync && git submodule update --init --recursive
147147

148148
printf "Installing PyTorch with %s\n" "${CU_VERSION}"
149-
pip3 install --pre torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/nightly/$CU_VERSION
149+
pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/$CU_VERSION
150150

151151
# smoke test
152152
python -c "import functorch"
@@ -155,7 +155,7 @@ python -c "import functorch"
155155
pip install git+https://github.com/pytorch/torchsnapshot
156156

157157
# install tensordict
158-
pip install git+https://github.com/pytorch-labs/tensordict.git
158+
pip install git+https://github.com/pytorch/tensordict.git
159159

160160
printf "* Installing torchrl\n"
161161
python setup.py develop

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,13 @@ if [ "${CU_VERSION:-}" == cpu ] ; then
3030
# conda install -y pytorch torchvision cpuonly -c pytorch-nightly
3131
# use pip to install pytorch as conda can frequently pick older release
3232
# conda install -y pytorch cpuonly -c pytorch-nightly
33-
pip3 install --pre torch --extra-index-url https://download.pytorch.org/whl/nightly/cpu --force-reinstall --progress-bar off
33+
pip3 install --pre torch --index-url https://download.pytorch.org/whl/nightly/cpu --force-reinstall --progress-bar off
3434
else
35-
pip3 install --pre torch --extra-index-url https://download.pytorch.org/whl/nightly/cu116 --force-reinstall --progress-bar off
35+
pip3 install --pre torch --index-url https://download.pytorch.org/whl/nightly/cu116 --force-reinstall --progress-bar off
3636
fi
3737

3838
# install tensordict
39-
pip install git+https://github.com/pytorch-labs/tensordict.git --progress-bar off
39+
pip install git+https://github.com/pytorch/tensordict.git --progress-bar off
4040

4141
# smoke test
4242
python -c "import functorch;import tensordict"

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,13 @@ if [ "${CU_VERSION:-}" == cpu ] ; then
3333
# conda install -y pytorch torchvision cpuonly -c pytorch-nightly
3434
# use pip to install pytorch as conda can frequently pick older release
3535
# conda install -y pytorch cpuonly -c pytorch-nightly
36-
pip3 install --pre torch --extra-index-url https://download.pytorch.org/whl/nightly/cpu --force-reinstall
36+
pip3 install --pre torch --index-url https://download.pytorch.org/whl/nightly/cpu --force-reinstall
3737
else
38-
pip3 install --pre torch --extra-index-url https://download.pytorch.org/whl/nightly/cu116 --force-reinstall
38+
pip3 install --pre torch --index-url https://download.pytorch.org/whl/nightly/cu116 --force-reinstall
3939
fi
4040

4141
# install tensordict
42-
pip install git+https://github.com/pytorch-labs/tensordict.git
42+
pip install git+https://github.com/pytorch/tensordict.git
4343

4444
# smoke test
4545
python -c "import functorch;import tensordict"

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,16 @@ git submodule sync && git submodule update --init --recursive
2828

2929
printf "Installing PyTorch with %s\n" "${CU_VERSION}"
3030
if [ "${CU_VERSION:-}" == cpu ] ; then
31-
pip3 install --pre torch --extra-index-url https://download.pytorch.org/whl/nightly/cpu
31+
pip3 install --pre torch --index-url https://download.pytorch.org/whl/nightly/cpu
3232
else
33-
pip3 install --pre torch --extra-index-url https://download.pytorch.org/whl/nightly/cu118
33+
pip3 install --pre torch --index-url https://download.pytorch.org/whl/nightly/cu118
3434
fi
3535

3636
# smoke test
3737
python -c "import functorch"
3838

3939
# install tensordict
40-
pip install git+https://github.com/pytorch-labs/tensordict
40+
pip install git+https://github.com/pytorch/tensordict
4141

4242
printf "* Installing torchrl\n"
4343
python setup.py develop

.github/unittest/linux_libs/scripts_gym/install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ fi
4646
pip install -U --force-reinstall charset-normalizer
4747

4848
# install tensordict
49-
pip install git+https://github.com/pytorch-labs/tensordict.git
49+
pip install git+https://github.com/pytorch/tensordict.git
5050

5151
# smoke test
5252
python -c "import tensordict"

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ version="$(python -c "print('.'.join(\"${CUDA_VERSION}\".split('.')[:2]))")"
2020
git submodule sync && git submodule update --init --recursive
2121

2222
printf "Installing PyTorch with %s\n" "${CU_VERSION}"
23-
pip3 install --pre torch --extra-index-url https://download.pytorch.org/whl/nightly/cu116 --force-reinstall
23+
pip3 install --pre torch --index-url https://download.pytorch.org/whl/nightly/cu116 --force-reinstall
2424

2525
# install tensordict
26-
pip3 install git+https://github.com/pytorch-labs/tensordict.git
26+
pip3 install git+https://github.com/pytorch/tensordict.git
2727

2828
# smoke test
2929
python3 -c "import functorch;import tensordict"

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,13 @@ if [ "${CU_VERSION:-}" == cpu ] ; then
3030
# conda install -y pytorch torchvision cpuonly -c pytorch-nightly
3131
# use pip to install pytorch as conda can frequently pick older release
3232
# conda install -y pytorch cpuonly -c pytorch-nightly
33-
pip3 install --pre torch --extra-index-url https://download.pytorch.org/whl/nightly/cpu --force-reinstall
33+
pip3 install --pre torch --index-url https://download.pytorch.org/whl/nightly/cpu --force-reinstall
3434
else
35-
pip3 install --pre torch --extra-index-url https://download.pytorch.org/whl/nightly/cu116 --force-reinstall
35+
pip3 install --pre torch --index-url https://download.pytorch.org/whl/nightly/cu116 --force-reinstall
3636
fi
3737

3838
# install tensordict
39-
pip install git+https://github.com/pytorch-labs/tensordict.git
39+
pip install git+https://github.com/pytorch/tensordict.git
4040

4141
# smoke test
4242
python -c "import functorch;import tensordict"

.github/unittest/linux_libs/scripts_pettingzoo/install.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,13 @@ if [ "${CU_VERSION:-}" == cpu ] ; then
3030
# conda install -y pytorch torchvision cpuonly -c pytorch-nightly
3131
# use pip to install pytorch as conda can frequently pick older release
3232
# conda install -y pytorch cpuonly -c pytorch-nightly
33-
pip3 install --pre torch --extra-index-url https://download.pytorch.org/whl/nightly/cpu --force-reinstall
33+
pip3 install --pre torch --index-url https://download.pytorch.org/whl/nightly/cpu --force-reinstall
3434
else
35-
pip3 install --pre torch --extra-index-url https://download.pytorch.org/whl/nightly/cu116 --force-reinstall
35+
pip3 install --pre torch --index-url https://download.pytorch.org/whl/nightly/cu116 --force-reinstall
3636
fi
3737

3838
# install tensordict
39-
pip install git+https://github.com/pytorch-labs/tensordict.git
39+
pip install git+https://github.com/pytorch/tensordict.git
4040

4141
# smoke test
4242
python -c "import tensordict"

0 commit comments

Comments
 (0)