From f8ca585b66683bb46c98a7e453ada3bb2cef6f31 Mon Sep 17 00:00:00 2001 From: Humble Devassy Chirammal Date: Thu, 23 Oct 2025 21:47:47 +0530 Subject: [PATCH] test/images: Update tf-wide-deep container image with Python 3.11 and TensorFlow 2.20.0 - Updated base image from python:3.6-slim-stretch to python:3.11-slim-bookworm - Bumped version from 1.3 to 1.4 - Updated TensorFlow from 1.9.0 to 2.20.0 (latest stable) - Updated TensorFlow models from v1.9.0 to v2.15.0 Signed-off-by: Humble Devassy Chirammal --- test/images/node-perf/tf-wide-deep/BASEIMAGE | 2 +- test/images/node-perf/tf-wide-deep/Dockerfile | 21 +++++++------------ test/images/node-perf/tf-wide-deep/VERSION | 2 +- 3 files changed, 9 insertions(+), 16 deletions(-) diff --git a/test/images/node-perf/tf-wide-deep/BASEIMAGE b/test/images/node-perf/tf-wide-deep/BASEIMAGE index 9b23a60fbad..f0cc017f768 100644 --- a/test/images/node-perf/tf-wide-deep/BASEIMAGE +++ b/test/images/node-perf/tf-wide-deep/BASEIMAGE @@ -1 +1 @@ -linux/amd64=python:3.6-slim-stretch +linux/amd64=python:3.11-slim-bookworm diff --git a/test/images/node-perf/tf-wide-deep/Dockerfile b/test/images/node-perf/tf-wide-deep/Dockerfile index a0d69002ef8..6ed7f1fa304 100644 --- a/test/images/node-perf/tf-wide-deep/Dockerfile +++ b/test/images/node-perf/tf-wide-deep/Dockerfile @@ -19,22 +19,15 @@ CROSS_BUILD_COPY qemu-QEMUARCH-static /usr/bin/ RUN apt-get update && apt-get install -y wget time -RUN case $(uname -m) in \ - aarch64) \ - pip install tensorflow-aarch64==1.2; \ - ;; \ - *) \ - pip install tensorflow==1.9.0; \ - ;; \ - esac +RUN pip install tensorflow==2.20.0 -RUN wget https://github.com/tensorflow/models/archive/v1.9.0.tar.gz \ -&& tar xzf v1.9.0.tar.gz \ -&& rm -f v1.9.0.tar.gz +RUN wget https://github.com/tensorflow/models/archive/v2.15.0.tar.gz \ +&& tar xzf v2.15.0.tar.gz \ +&& rm -f v2.15.0.tar.gz -RUN python /models-1.9.0/official/wide_deep/data_download.py +RUN python /models-2.15.0/official/wide_deep/data_download.py -WORKDIR $HOME/models-1.9.0/official/wide_deep -ENV PYTHONPATH=$PYTHONPATH:$HOME/models-1.9.0 +WORKDIR $HOME/models-2.15.0/official/wide_deep +ENV PYTHONPATH=$PYTHONPATH:$HOME/models-2.15.0 ENTRYPOINT python ./wide_deep.py diff --git a/test/images/node-perf/tf-wide-deep/VERSION b/test/images/node-perf/tf-wide-deep/VERSION index 7e32cd56983..c068b2447cc 100644 --- a/test/images/node-perf/tf-wide-deep/VERSION +++ b/test/images/node-perf/tf-wide-deep/VERSION @@ -1 +1 @@ -1.3 +1.4