Skip to content

Commit

Permalink
Revert "Keras 3 w/ tf2.16 (#1385)"
Browse files Browse the repository at this point in the history
This reverts commit e3181fe.
  • Loading branch information
djherbis authored Apr 22, 2024
1 parent 1369652 commit f3917c8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tpu/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,14 @@ RUN pip install tensorflow_hub https://storage.googleapis.com/cloud-tpu-tpuvm-ar
papermill jupyterlab python-lsp-server[all] "jupyter-lsp==1.5.1" \
pandas matplotlib opencv-python-headless librosa accelerate diffusers scikit-learn transformers \
seaborn timm albumentations einops pyarrow fastparquet opencv-python \
"keras>3" keras-cv keras-nlp \
kagglehub && \
/tmp/clean-layer.sh

# b/318672157 Install Keras 3 for loading models.
# We ignore dependencies for now since tf2.15 should work despite pip saying it won't.
RUN pip install --no-dependencies "keras>3" keras-cv keras-nlp && \
/tmp/clean-layer.sh

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

Expand Down

0 comments on commit f3917c8

Please sign in to comment.