File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -65,10 +65,14 @@ RUN pip install tensorflow_hub https://storage.googleapis.com/cloud-tpu-tpuvm-ar
65
65
papermill jupyterlab python-lsp-server[all] "jupyter-lsp==1.5.1" \
66
66
pandas matplotlib opencv-python-headless librosa accelerate diffusers scikit-learn transformers \
67
67
seaborn timm albumentations einops pyarrow fastparquet opencv-python \
68
- "keras>3" keras-cv keras-nlp \
69
68
kagglehub && \
70
69
/tmp/clean-layer.sh
71
70
71
+ # b/318672157 Install Keras 3 for loading models.
72
+ # We ignore dependencies for now since tf2.15 should work despite pip saying it won't.
73
+ RUN pip install --no-dependencies "keras>3" keras-cv keras-nlp && \
74
+ /tmp/clean-layer.sh
75
+
72
76
# Tensorflow libtpu:
73
77
RUN curl --output /lib/libtpu.so https://storage.googleapis.com/cloud-tpu-tpuvm-artifacts/libtpu/${TF_LIBTPU_VERSION}/libtpu.so
74
78
You can’t perform that action at this time.
0 commit comments