Skip to content

Commit

Permalink
Fix a flaky wget issue. (#193)
Browse files Browse the repository at this point in the history
* fix a flaky wget issue.

* fix a dir issue.

* fix comments

* fix missing dir
  • Loading branch information
vanbasten23 authored Mar 13, 2024
1 parent 4750150 commit b2f99eb
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions dags/legacy_test/tests/pytorch/nightly/common.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,8 @@ local volumes = import 'templates/volumes.libsonnet';
pip3 uninstall -y torch torchvision
pip3 install --pre torch torchvision --index-url https://download.pytorch.org/whl/nightly/cpu
mkdir pytorch
wget https://github.com/pytorch/xla/archive/refs/heads/master.tar.gz -O - | tar xzf -
mv xla-master pytorch/xla
mkdir -p pytorch/xla
git clone --depth=1 https://github.com/pytorch/xla.git pytorch/xla
%s
Expand Down

0 comments on commit b2f99eb

Please sign in to comment.