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
11
11
ARG TORCH_VERSION
12
12
ARG TENSORFLOW_VERSION
13
13
ARG TF_LIBTPU_VERSION
14
- ARG JAX_VERSION
15
14
ARG TORCHVISION_VERSION
16
15
ARG TORCHAUDIO_VERSION
17
16
@@ -67,6 +66,7 @@ RUN envsubst < /kaggle_requirements.txt > /requirements.txt
67
66
RUN curl -LsSf https://astral.sh/uv/install.sh | sh
68
67
RUN 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 && \
69
68
/tmp/clean-layer.sh
69
+ ENV PATH="${HOME}/.local/bin:${PATH}"
70
70
71
71
# Tensorflow libtpu:
72
72
RUN 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
6
6
TENSORFLOW_VERSION=2.16.1
7
7
TF_LIBTPU_VERSION=1.10.1
8
8
TF_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
11
10
# Supports nightly
12
- TORCH_VERSION=2.4 .0
11
+ TORCH_VERSION=2.5 .0
13
12
# https://github.com/pytorch/audio supports nightly
14
- TORCHAUDIO_VERSION=2.4 .0
13
+ TORCHAUDIO_VERSION=2.5 .0
15
14
# https://github.com/pytorch/vision supports nightly
16
- TORCHVISION_VERSION=0.19 .0
15
+ TORCHVISION_VERSION=0.20 .0
17
16
TORCH_LINUX_WHEEL_VERSION=manylinux_2_28_x86_64
Original file line number Diff line number Diff line change
1
+ # TPU Utils
2
+ tpu-info
1
3
# Tensorflow packages
2
4
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
3
5
tensorflow_hub
@@ -9,7 +11,7 @@ https://storage.googleapis.com/pytorch-xla-releases/wheels/tpuvm/torch_xla-${TOR
9
11
torchaudio ==${TORCHAUDIO_VERSION}
10
12
torchvision ==${TORCHVISION_VERSION}
11
13
# Jax packages
12
- jax [tpu ]==${JAX_VERSION}
14
+ jax [tpu ]>= 0.4.34
13
15
distrax
14
16
flax
15
17
git+https://github.com/deepmind/dm-haiku
You can’t perform that action at this time.
0 commit comments