File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed
Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -62,6 +62,11 @@ RUN pip install tensorflow_hub https://storage.googleapis.com/cloud-tpu-tpuvm-ar
6262 kagglehub && \
6363 /tmp/clean-layer.sh
6464
65+ # b/318672157 Install Keras 3 for loading models.
66+ # We ignore dependencies for now since tf2.15 should work despite pip saying it won't.
67+ RUN pip install --no-dependencies "keras>3" keras-cv keras-nlp && \
68+ /tmp/clean-layer.sh
69+
6570# Tensorflow libtpu:
6671RUN curl --output /lib/libtpu.so https://storage.googleapis.com/cloud-tpu-tpuvm-artifacts/libtpu/${TF_LIBTPU_VERSION}/libtpu.so
6772
Original file line number Diff line number Diff line change 11BASE_IMAGE=python:3.10
22PYTHON_WHEEL_VERSION=cp310
33PYTHON_VERSION_PATH=python3.10
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.14 .0
6- TF_LIBTPU_VERSION=1.8 .0
4+ # https://cloud.google.com/tpu/docs/supported-tpu-configurations#libtpu_versions
5+ TENSORFLOW_VERSION=2.15 .0
6+ TF_LIBTPU_VERSION=1.9 .0
77TF_LINUX_WHEEL_VERSION=manylinux_2_17_x86_64.manylinux2014_x86_64
88JAX_VERSION=0.4.17
99# Supports nightly
You can’t perform that action at this time.
0 commit comments