File tree Expand file tree Collapse file tree 28 files changed +114
-106
lines changed
linux_distributed/scripts
linux_olddeps/scripts_gym_0_13 Expand file tree Collapse file tree 28 files changed +114
-106
lines changed Original file line number Diff line number Diff line change @@ -124,9 +124,9 @@ git submodule sync && git submodule update --init --recursive
124124printf " Installing PyTorch with %s\n" " ${CU_VERSION} "
125125if [[ " $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
131131elif [[ " $TORCH_VERSION " == " stable" ]]; then
132132 if [ " ${CU_VERSION:- } " == cpu ] ; then
@@ -146,7 +146,7 @@ python -c "import functorch"
146146pip3 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
151151printf " * Installing torchrl\n"
152152python setup.py develop
Original file line number Diff line number Diff line change @@ -28,9 +28,9 @@ git submodule sync && git submodule update --init --recursive
2828
2929printf " Installing PyTorch with %s\n" " ${CU_VERSION} "
3030if [ " ${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
3232else
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
3434fi
3535
3636# smoke test
@@ -40,7 +40,7 @@ python -c "import functorch"
4040pip 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
4545printf " * Installing torchrl\n"
4646python setup.py develop
Original file line number Diff line number Diff line change @@ -146,7 +146,7 @@ version="$(python -c "print('.'.join(\"${CUDA_VERSION}\".split('.')[:2]))")"
146146git submodule sync && git submodule update --init --recursive
147147
148148printf " 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
152152python -c " import functorch"
@@ -155,7 +155,7 @@ python -c "import functorch"
155155pip 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
160160printf " * Installing torchrl\n"
161161python setup.py develop
Original file line number Diff line number Diff 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
3434else
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
3636fi
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
4242python -c " import functorch;import tensordict"
Original file line number Diff line number Diff 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
3737else
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
3939fi
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
4545python -c " import functorch;import tensordict"
Original file line number Diff line number Diff line change @@ -28,16 +28,16 @@ git submodule sync && git submodule update --init --recursive
2828
2929printf " Installing PyTorch with %s\n" " ${CU_VERSION} "
3030if [ " ${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
3232else
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
3434fi
3535
3636# smoke test
3737python -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
4242printf " * Installing torchrl\n"
4343python setup.py develop
Original file line number Diff line number Diff line change 4646pip 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
5252python -c " import tensordict"
Original file line number Diff line number Diff line change @@ -20,10 +20,10 @@ version="$(python -c "print('.'.join(\"${CUDA_VERSION}\".split('.')[:2]))")"
2020git submodule sync && git submodule update --init --recursive
2121
2222printf " 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
2929python3 -c " import functorch;import tensordict"
Original file line number Diff line number Diff 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
3434else
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
3636fi
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
4242python -c " import functorch;import tensordict"
Original file line number Diff line number Diff 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
3434else
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
3636fi
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
4242python -c " import tensordict"
You can’t perform that action at this time.
0 commit comments