Skip to content

Commit 4874587

Browse files
authored
Merge pull request #1365 from Kaggle/torch-2.2.0-x
Torch XLA 2.2.0 w/ TORCH 2.2.1
2 parents da1e2ec + 7e3c047 commit 4874587

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tpu/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ ADD patches/kaggle_datasets.py /root/.local/lib/${PYTHON_VERSION_PATH}/site-pack
5555
# Additional useful packages should be added here
5656

5757
RUN pip install tensorflow_hub https://storage.googleapis.com/cloud-tpu-tpuvm-artifacts/tensorflow/tf-${TENSORFLOW_VERSION}/tensorflow-${TENSORFLOW_VERSION}-${PYTHON_WHEEL_VERSION}-${PYTHON_WHEEL_VERSION}-${TF_LINUX_WHEEL_VERSION}.whl tensorflow-probability tensorflow-io \
58-
torch==${TORCH_VERSION} https://storage.googleapis.com/pytorch-xla-releases/wheels/tpuvm/torch_xla-${TORCH_VERSION}+libtpu-${PYTHON_WHEEL_VERSION}-${PYTHON_WHEEL_VERSION}-${TORCH_LINUX_WHEEL_VERSION}.whl torchvision==${TORCHVISION_VERSION} torchtext==${TORCHTEXT_VERSION} torchaudio==${TORCHAUDIO_VERSION} \
58+
torch~=${TORCH_VERSION} https://storage.googleapis.com/pytorch-xla-releases/wheels/tpuvm/torch_xla-${TORCH_VERSION}+libtpu-${PYTHON_WHEEL_VERSION}-${PYTHON_WHEEL_VERSION}-${TORCH_LINUX_WHEEL_VERSION}.whl torchvision==${TORCHVISION_VERSION} torchtext==${TORCHTEXT_VERSION} torchaudio==${TORCHAUDIO_VERSION} \
5959
jax[tpu]==${JAX_VERSION} -f https://storage.googleapis.com/jax-releases/libtpu_releases.html trax flax optax git+https://github.com/deepmind/dm-haiku jraph distrax \
6060
papermill jupyterlab python-lsp-server[all] "jupyter-lsp==1.5.1" \
6161
pandas matplotlib opencv-python-headless librosa accelerate diffusers scikit-learn transformers \

tpu/config.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ TF_LIBTPU_VERSION=1.9.0
77
TF_LINUX_WHEEL_VERSION=manylinux_2_17_x86_64.manylinux2014_x86_64
88
JAX_VERSION=0.4.23
99
# Supports nightly
10-
TORCH_VERSION=2.2.1
10+
TORCH_VERSION=2.2.0
1111
# https://github.com/pytorch/audio supports nightly
1212
TORCHAUDIO_VERSION=2.2.1
1313
# https://github.com/pytorch/text supports main

0 commit comments

Comments
 (0)