Skip to content

Commit 61044e8

Browse files
committed
Upgrade to TensorFlow 2.5
- Upgraded tensorflow-addons and tensorflow-gcs-config packages (requires to get TF 2.5 support). - Removed comment about `ktext` package. This packages hasn't been updated since 2019 and won't be in the future.
1 parent 0638abf commit 61044e8

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
ARG BASE_TAG=m73
2-
ARG TENSORFLOW_VERSION=2.4.1
2+
ARG TENSORFLOW_VERSION=2.5.0
33

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

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

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

6767
RUN apt-get install -y libfreetype6-dev && \

gpu.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ RUN pip install jax==0.2.16 jaxlib==0.1.68+cuda$CUDA_MAJOR_VERSION$CUDA_MINOR_VE
8383

8484
# Reinstall packages with a separate version for GPU support.
8585
RUN pip uninstall -y tensorflow && \
86-
pip install tensorflow-gpu==2.4.1 && \
86+
pip install tensorflow-gpu==2.5.0 && \
8787
pip uninstall -y mxnet && \
8888
pip install mxnet-cu$CUDA_MAJOR_VERSION$CUDA_MINOR_VERSION && \
8989
/tmp/clean-layer.sh

0 commit comments

Comments
 (0)