Skip to content

Commit

Permalink
[skip ci] Updated nightly to latest stable pytorch-xla in teaser note…
Browse files Browse the repository at this point in the history
…book (#1990)

* [skip ci] Updated nightly to stable pytorch-xla in teaser notebook

* [skip ci] Updated nightly to stable pytorch-xla in teaser notebook

* [skip ci] Updated nightly to latest stable pytorch-xla in teaser notebook
  • Loading branch information
Priyansi authored May 7, 2021
1 parent d95cdb7 commit 7e840ff
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions assets/tldr/teaser.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,8 @@
"with_torch_launch = \"WORLD_SIZE\" in os.environ\n",
"\n",
"if in_colab:\n",
" VERSION = \"nightly\"\n",
" !curl https://raw.githubusercontent.com/pytorch/xla/master/contrib/scripts/env-setup.py -o pytorch-xla-env-setup.py\n",
" !python pytorch-xla-env-setup.py --version $VERSION"
" VERSION = !curl -s https://api.github.com/repos/pytorch/xla/releases/latest | grep -Po '\"tag_name\": \"v\\K.*?(?=\")'\n",
" !pip install cloud-tpu-client==0.10 https://storage.googleapis.com/tpu-pytorch/wheels/torch_xla-{VERSION[0]}-cp37-cp37m-linux_x86_64.whl"
]
},
{
Expand Down Expand Up @@ -485,4 +484,4 @@
},
"nbformat": 4,
"nbformat_minor": 4
}
}

0 comments on commit 7e840ff

Please sign in to comment.