From 995048af68de387d7bbc5842458791301757173e Mon Sep 17 00:00:00 2001 From: Sandipan Panda Date: Mon, 11 Mar 2024 00:44:03 +0530 Subject: [PATCH] Upgrade TensorFlow version in all Dockerfiles to v2 Signed-off-by: Sandipan Panda --- examples/tensorflow/dist-mnist/Dockerfile | 2 +- .../tensorflow/distribution_strategy/estimator-API/Dockerfile | 2 +- examples/tensorflow/mnist_with_summaries/Dockerfile | 2 +- examples/tensorflow/tf_sample/Dockerfile | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/tensorflow/dist-mnist/Dockerfile b/examples/tensorflow/dist-mnist/Dockerfile index cd03949b04..002a742d59 100644 --- a/examples/tensorflow/dist-mnist/Dockerfile +++ b/examples/tensorflow/dist-mnist/Dockerfile @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -FROM tensorflow/tensorflow:1.5.0 +FROM tensorflow/tensorflow:2.16.1 ADD examples/tensorflow/dist-mnist/ /var/tf_dist_mnist ENTRYPOINT ["python", "/var/tf_dist_mnist/dist_mnist.py"] diff --git a/examples/tensorflow/distribution_strategy/estimator-API/Dockerfile b/examples/tensorflow/distribution_strategy/estimator-API/Dockerfile index 88d6399059..f9f276fa0f 100644 --- a/examples/tensorflow/distribution_strategy/estimator-API/Dockerfile +++ b/examples/tensorflow/distribution_strategy/estimator-API/Dockerfile @@ -1,4 +1,4 @@ -FROM tensorflow/tensorflow:1.11.0 +FROM tensorflow/tensorflow:2.16.1 COPY examples/tensorflow/distribution_strategy/estimator-API/keras_model_to_estimator.py / ENTRYPOINT ["python", "/keras_model_to_estimator.py", "/tmp/tfkeras_example/"] diff --git a/examples/tensorflow/mnist_with_summaries/Dockerfile b/examples/tensorflow/mnist_with_summaries/Dockerfile index a2c5b77abb..585fad5583 100644 --- a/examples/tensorflow/mnist_with_summaries/Dockerfile +++ b/examples/tensorflow/mnist_with_summaries/Dockerfile @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -FROM tensorflow/tensorflow:1.11.0 +FROM tensorflow/tensorflow:2.16.1 ADD examples/tensorflow/mnist_with_summaries/ /var/tf_mnist ENTRYPOINT ["python", "/var/tf_mnist/mnist_with_summaries.py"] diff --git a/examples/tensorflow/tf_sample/Dockerfile b/examples/tensorflow/tf_sample/Dockerfile index 690fb6ec20..9cbaf32cb6 100644 --- a/examples/tensorflow/tf_sample/Dockerfile +++ b/examples/tensorflow/tf_sample/Dockerfile @@ -1,4 +1,4 @@ -FROM tensorflow/tensorflow:1.8.0 +FROM tensorflow/tensorflow:2.16.1 RUN pip install retrying RUN mkdir -p /opt/kubeflow COPY examples/tensorflow/tf_sample/tf_smoke.py /opt/kubeflow/