Skip to content

Commit 4aae3b1

Browse files
authored
Update build.sh
1 parent 4b04c9b commit 4aae3b1

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.jenkins/build.sh

+2-3
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,8 @@ sudo apt-get install -y pandoc
2424
# Install 2.5 to merge all 2.4 PRs - uncomment to install nightly binaries (update the version as needed).
2525
sudo pip uninstall -y torch torchvision torchaudio torchtext torchdata torchrl tensordict
2626
pip3 install torch==2.7.0 torchvision torchaudio --no-cache-dir --index-url https://download.pytorch.org/whl/test/cu126
27-
pip install git+https://github.com/pytorch/tensordict
28-
pip install git+https://github.com/pytorch/torchrl
29-
27+
pip install git+https://github.com/pytorch/tensordict.git@main --depth=1
28+
pip install git+https://github.com/pytorch/torchrl.git@main --depth=1
3029
#sudo pip uninstall -y fbgemm-gpu torchrec
3130
#sudo pip3 install fbgemm-gpu==1.1.0 torchrec==1.0.0 --no-cache-dir --index-url https://download.pytorch.org/whl/test/cu126
3231

0 commit comments

Comments
 (0)