Skip to content

Upgrade to TensorFlow 2.5 #1043

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ARG BASE_TAG=m73
ARG TENSORFLOW_VERSION=2.4.1
ARG TENSORFLOW_VERSION=2.5.0

FROM gcr.io/deeplearning-platform-release/base-cpu:${BASE_TAG}

Expand Down Expand Up @@ -60,8 +60,8 @@ RUN pip install seaborn python-dateutil dask && \
/tmp/clean-layer.sh

RUN pip install tensorflow==${TENSORFLOW_VERSION} && \
pip install tensorflow-gcs-config==2.4.0 && \
pip install tensorflow-addons==0.12.1 && \
pip install tensorflow-gcs-config==${TENSORFLOW_VERSION} && \
pip install tensorflow-addons==0.13.0 && \
/tmp/clean-layer.sh

RUN apt-get install -y libfreetype6-dev && \
Expand Down
2 changes: 1 addition & 1 deletion gpu.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ RUN pip install jax==0.2.16 jaxlib==0.1.68+cuda$CUDA_MAJOR_VERSION$CUDA_MINOR_VE

# Reinstall packages with a separate version for GPU support.
RUN pip uninstall -y tensorflow && \
pip install tensorflow-gpu==2.4.1 && \
pip install tensorflow-gpu==2.5.0 && \
pip uninstall -y mxnet && \
pip install mxnet-cu$CUDA_MAJOR_VERSION$CUDA_MINOR_VERSION && \
/tmp/clean-layer.sh
Expand Down