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 2 commits
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
10 changes: 8 additions & 2 deletions dags/legacy_test/tests/pytorch/r2.5/common.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,14 @@ local volumes = import 'templates/volumes.libsonnet';
pip install https://storage.googleapis.com/pytorch-xla-releases/wheels/tpuvm/torch_xla-2.5.0rc9-cp310-cp310-linux_x86_64.whl
pip install torch_xla[tpu] -f https://storage.googleapis.com/libtpu-releases/index.html
pip install pillow
git clone --depth=1 https://github.com/pytorch/pytorch.git
cd pytorch
if [ ! -d "pytorch" ]; then
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
ManfeiBai marked this conversation as resolved.
Show resolved Hide resolved
fi
git clone -b v2.5.0-rc9 https://github.com/pytorch/xla.git
|||,
},
Expand Down
Loading