Skip to content

Commit 892cfbc

Browse files
committed
[CI] Fix tensordict install in lib tests
ghstack-source-id: 2e1839f Pull-Request: #3286
1 parent 04da476 commit 892cfbc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,16 +49,16 @@ pip install -U charset-normalizer
4949
if [[ "$RELEASE" == 0 ]]; then
5050
conda install "anaconda::cmake>=3.22" -y
5151
pip3 install "pybind11[global]"
52-
pip3 install git+https://github.com/pytorch/tensordict.git
52+
pip3 install git+https://github.com/pytorch/tensordict.git --no-deps
5353
else
54-
pip3 install tensordict
54+
pip3 install tensordict --no-deps
5555
fi
5656

5757
# smoke test
5858
python -c "import tensordict"
5959

6060
printf "* Installing torchrl\n"
61-
python -m pip install -e . --no-build-isolation
61+
python -m pip install -e . --no-build-isolation --no-deps
6262
python -c "import torchrl"
6363

6464
## Reinstalling pytorch with specific version

0 commit comments

Comments
 (0)