Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

skip failure of duplicated PyTorch installation #438

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions dags/legacy_test/tests/pytorch/r2.5/common.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,13 @@ local volumes = import 'templates/volumes.libsonnet';
pip install torch_xla[tpu] -f https://storage.googleapis.com/libtpu-releases/index.html
pip install pillow
if [ ! -d "pytorch" ]; then
git clone --depth=1 https://github.com/pytorch/pytorch.git
git clone --depth=1 -b v2.5.0-rc9 https://github.com/pytorch/pytorch.git
cd pytorch
else
cd pytorch
git fetch origin release/2.5
git checkout -b release/2.5 origin/release/2.5
fi
cd pytorch
git clone -b v2.5.0-rc9 https://github.com/pytorch/xla.git
|||,
},
Expand Down
Loading