Skip to content

Commit eeffde1

Browse files
authored
[TPU] Upgrade PyTorch XLA nightly (#7967)
1 parent e5697d1 commit eeffde1

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

Dockerfile.tpu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG NIGHTLY_DATE="20240808"
1+
ARG NIGHTLY_DATE="20240828"
22
ARG BASE_IMAGE="us-central1-docker.pkg.dev/tpu-pytorch-releases/docker/xla:nightly_3.10_tpuvm_$NIGHTLY_DATE"
33

44
FROM $BASE_IMAGE

docs/source/getting_started/tpu-installation.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,10 @@ First, install the dependencies:
5656
$ pip uninstall torch torch-xla -y
5757
5858
$ # Install PyTorch and PyTorch XLA.
59-
$ export DATE="+20240808"
60-
$ pip install https://storage.googleapis.com/pytorch-xla-releases/wheels/tpuvm/torch-nightly${DATE}-cp310-cp310-linux_x86_64.whl
61-
$ pip install https://storage.googleapis.com/pytorch-xla-releases/wheels/tpuvm/torch_xla-nightly${DATE}-cp310-cp310-linux_x86_64.whl
59+
$ export DATE="20240828"
60+
$ export TORCH_VERSION="2.5.0"
61+
$ pip install https://storage.googleapis.com/pytorch-xla-releases/wheels/tpuvm/torch-${TORCH_VERSION}.dev${DATE}-cp310-cp310-linux_x86_64.whl
62+
$ pip3 install https://storage.googleapis.com/pytorch-xla-releases/wheels/tpuvm/torch_xla-${TORCH_VERSION}.dev${DATE}-cp310-cp310-linux_x86_64.whl
6263
6364
$ # Install JAX and Pallas.
6465
$ pip install torch_xla[tpu] -f https://storage.googleapis.com/libtpu-releases/index.html

0 commit comments

Comments
 (0)