Skip to content

Commit 1c37aa8

Browse files
authored
Add extra libraries back to TPU (minus elegy)
elegy was the only package that was still failing the install
1 parent d91980c commit 1c37aa8

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

tpu/Dockerfile

+2-4
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,8 @@ ADD patches/kaggle_datasets.py /root/.local/lib/${PYTHON_VERSION_PATH}/site-pack
5656
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 \
5757
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} \
5858
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
59+
papermill jupyterlab python-lsp-server[all] "jupyter-lsp==1.5.1" \
60+
pandas matplotlib opencv-python-headless librosa accelerate diffusers scikit-learn transformers
6361

6462
# Tensorflow libtpu:
6563
RUN curl --output /lib/libtpu.so https://storage.googleapis.com/cloud-tpu-tpuvm-artifacts/libtpu/${TF_LIBTPU_VERSION}/libtpu.so

0 commit comments

Comments
 (0)