File tree Expand file tree Collapse file tree 3 files changed +8
-7
lines changed
Expand file tree Collapse file tree 3 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ ARG TORCH_LINUX_WHEEL_VERSION
1111ARG TORCH_VERSION
1212ARG TENSORFLOW_VERSION
1313ARG TF_LIBTPU_VERSION
14- ARG JAX_VERSION
1514ARG TORCHVISION_VERSION
1615ARG TORCHAUDIO_VERSION
1716
@@ -67,6 +66,7 @@ RUN envsubst < /kaggle_requirements.txt > /requirements.txt
6766RUN curl -LsSf https://astral.sh/uv/install.sh | sh
6867RUN export PATH="${HOME}/.local/bin:${PATH}" && uv pip install --system -r /requirements.txt --prerelease=allow --find-links https://storage.googleapis.com/jax-releases/libtpu_releases.html && \
6968 /tmp/clean-layer.sh
69+ ENV PATH="${HOME}/.local/bin:${PATH}"
7070
7171# Tensorflow libtpu:
7272RUN curl --output /usr/local/lib/python3.10/site-packages/libtpu/libtpu.so https://storage.googleapis.com/cloud-tpu-tpuvm-artifacts/libtpu/${TF_LIBTPU_VERSION}/libtpu.so
Original file line number Diff line number Diff line change @@ -6,12 +6,11 @@ PYTHON_VERSION_PATH=python3.10
66TENSORFLOW_VERSION=2.16.1
77TF_LIBTPU_VERSION=1.10.1
88TF_LINUX_WHEEL_VERSION=manylinux_2_17_x86_64.manylinux2014_x86_64
9- JAX_VERSION=0.4.23
10- # gsutil ls gs://pytorch-xla-releases/wheels/tpuvm/* | grep libtpu | grep -v -E ".*rc[0-9].*"
9+ # gsutil ls gs://pytorch-xla-releases/wheels/tpuvm/* | grep libtpu | grep torch_xla | grep -v -E ".*rc[0-9].*" | sed 's/.*torch_xla-\(.*\)+libtpu.*/\1/' | sort -rV
1110# Supports nightly
12- TORCH_VERSION=2.4 .0
11+ TORCH_VERSION=2.5 .0
1312# https://github.com/pytorch/audio supports nightly
14- TORCHAUDIO_VERSION=2.4 .0
13+ TORCHAUDIO_VERSION=2.5 .0
1514# https://github.com/pytorch/vision supports nightly
16- TORCHVISION_VERSION=0.19 .0
15+ TORCHVISION_VERSION=0.20 .0
1716TORCH_LINUX_WHEEL_VERSION=manylinux_2_28_x86_64
Original file line number Diff line number Diff line change 1+ # TPU Utils
2+ tpu-info
13# Tensorflow packages
24https://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
35tensorflow_hub
@@ -9,7 +11,7 @@ https://storage.googleapis.com/pytorch-xla-releases/wheels/tpuvm/torch_xla-${TOR
911torchaudio ==${TORCHAUDIO_VERSION}
1012torchvision ==${TORCHVISION_VERSION}
1113# Jax packages
12- jax [tpu ]==${JAX_VERSION}
14+ jax [tpu ]>= 0.4.34
1315distrax
1416flax
1517git+https://github.com/deepmind/dm-haiku
You can’t perform that action at this time.
0 commit comments