File tree 2 files changed +21
-18
lines changed
2 files changed +21
-18
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,8 @@ FROM $BASE_IMAGE
6
6
# See: https://docs.docker.com/engine/reference/builder/#understand-how-arg-and-from-interact
7
7
ARG PYTHON_WHEEL_VERSION
8
8
ARG PYTHON_VERSION_PATH
9
- ARG LINUX_WHEEL_VERSION
9
+ ARG TF_LINUX_WHEEL_VERSION
10
+ ARG TORCH_LINUX_WHEEL_VERSION
10
11
ARG TORCH_VERSION
11
12
ARG TENSORFLOW_VERSION
12
13
ARG TF_LIBTPU_VERSION
@@ -52,12 +53,13 @@ ADD patches/kaggle_datasets.py /root/.local/lib/${PYTHON_VERSION_PATH}/site-pack
52
53
53
54
# Additional useful packages should be added here
54
55
55
- 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}-${LINUX_WHEEL_VERSION}.whl tensorflow-addons tensorflow-probability tensorflow-io \
56
- torch==${TORCH_VERSION} https://storage.googleapis.com/tpu-pytorch/wheels/tpuvm/torch_xla-${TORCH_VERSION%.*}-${PYTHON_WHEEL_VERSION}-${PYTHON_WHEEL_VERSION}-${LINUX_WHEEL_VERSION}.whl torchvision==${TORCHVISION_VERSION} torchtext==${TORCHTEXT_VERSION} torchaudio==${TORCHAUDIO_VERSION} \
57
- jax[tpu]==${JAX_VERSION} -f https://storage.googleapis.com/jax-releases/libtpu_releases.html trax flax optax elegy git+https://github.com/deepmind/dm-haiku jraph distrax \
58
- numpy==1.23.5 \
59
- papermill jupyterlab python-lsp-server[all] "jupyter-lsp==1.5.1" \
60
- pandas matplotlib opencv-python-headless librosa scikit-learn accelerate diffusers transformers
56
+ 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-addons tensorflow-probability tensorflow-io \
57
+ torch==${TORCH_VERSION} https://storage.googleapis.com/pytorch-xla-releases/wheels/tpuvm/torch_xla-${TORCH_VERSION}-${PYTHON_WHEEL_VERSION}-${PYTHON_WHEEL_VERSION}-${TORCH_LINUX_WHEEL_VERSION}.whl torchvision==${TORCHVISION_VERSION} torchtext==${TORCHTEXT_VERSION} torchaudio==${TORCHAUDIO_VERSION} \
58
+ 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 \
59
+ # numpy==1.23.5 \
60
+ papermill jupyterlab python-lsp-server[all] "jupyter-lsp==1.5.1"
61
+ # elegy
62
+ # pandas matplotlib opencv-python-headless librosa accelerate diffusers scikit-learn transformers
61
63
62
64
# Tensorflow libtpu:
63
65
RUN curl --output /lib/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 1
- BASE_IMAGE=python:3.8
2
- PYTHON_WHEEL_VERSION=cp38
3
- PYTHON_VERSION_PATH=python3.8
1
+ BASE_IMAGE=python:3.10
2
+ PYTHON_WHEEL_VERSION=cp310
3
+ PYTHON_VERSION_PATH=python3.10
4
4
# https://cloud.google.com/tpu/docs/supported-tpu-configurations#tpu_software_versions:~:text=TensorFlow%20version-,libtpu.so%20version,-2.13.0
5
- TENSORFLOW_VERSION=2.12.0
6
- TF_LIBTPU_VERSION=1.6.0
7
- JAX_VERSION=0.4.13
5
+ TENSORFLOW_VERSION=2.14.0
6
+ TF_LIBTPU_VERSION=1.8.0
7
+ TF_LINUX_WHEEL_VERSION=manylinux_2_17_x86_64.manylinux2014_x86_64
8
+ JAX_VERSION=0.4.17
8
9
# Supports nightly
9
- TORCH_VERSION=2.0 .0
10
+ TORCH_VERSION=2.1 .0
10
11
# https://github.com/pytorch/audio supports nightly
11
- TORCHAUDIO_VERSION=2.0 .0
12
+ TORCHAUDIO_VERSION=2.1 .0
12
13
# https://github.com/pytorch/text supports main
13
- TORCHTEXT_VERSION=0.15.1
14
+ TORCHTEXT_VERSION=0.16.0
14
15
# https://github.com/pytorch/vision supports nightly
15
- TORCHVISION_VERSION=0.15.1
16
- LINUX_WHEEL_VERSION=linux_x86_64
16
+ TORCHVISION_VERSION=0.16.0
17
+ TORCH_LINUX_WHEEL_VERSION=manylinux_2_28_x86_64
You can’t perform that action at this time.
0 commit comments