Skip to content

Commit ae40c2c

Browse files
authored
Fix tf_keras (#2710)
1 parent 62276c9 commit ae40c2c

10 files changed

+4
-24
lines changed

tensorflow/tools/tf_sig_build_dockerfiles/Dockerfile.rocm.manylinux_2_28

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,6 @@ RUN mkdir /tmp/llvm-project && wget -qO - https://github.com/llvm/llvm-project/a
6363
COPY devel.usertools /usertools
6464
COPY devel.bashrc /root/.bashrc
6565

66-
# Install tf_keras
67-
RUN pip install --no-deps tf_keras==2.17.0
68-
6966
# Setup ENV variables for tensorflow pip build
7067
ENV TF_NEED_ROCM=1
7168
ENV TF_ROCM_GCC=1

tensorflow/tools/tf_sig_build_dockerfiles/Dockerfile.rocm.rt.ub20

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,6 @@ ENV TF_NEED_ROCM=1
4040
ENV TF_ROCM_GCC=1
4141
ENV ROCM_TOOLKIT_PATH=${ROCM_PATH}
4242

43-
# Install tf_keras
44-
RUN pip install --no-deps tf_keras==2.17.0
45-
4643
RUN pip install --no-cache-dir /${TF_PKGS_DIR}/${TENSORFLOW_PACKAGE}
4744
RUN echo 'ALL ALL=NOPASSWD:ALL' | tee /etc/sudoers.d/sudo-nopasswd
4845

tensorflow/tools/tf_sig_build_dockerfiles/Dockerfile.rocm.rt.ub22

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,6 @@ ENV TF_NEED_ROCM=1
3636
ENV TF_ROCM_GCC=1
3737
ENV ROCM_TOOLKIT_PATH=${ROCM_PATH}
3838

39-
# Install tf_keras
40-
RUN pip install --no-deps tf_keras==2.17.0
41-
4239
RUN pip install --no-cache-dir /${TF_PKGS_DIR}/${TENSORFLOW_PACKAGE}
4340
RUN echo 'ALL ALL=NOPASSWD:ALL' | tee /etc/sudoers.d/sudo-nopasswd
4441

tensorflow/tools/tf_sig_build_dockerfiles/Dockerfile.rocm.rt.ub24

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,6 @@ ENV TF_NEED_ROCM=1
3636
ENV TF_ROCM_GCC=1
3737
ENV ROCM_TOOLKIT_PATH=${ROCM_PATH}
3838

39-
# Install tf_keras
40-
RUN pip install --no-deps tf_keras==2.17.0
41-
4239
RUN pip install --no-cache-dir /${TF_PKGS_DIR}/${TENSORFLOW_PACKAGE}
4340
RUN echo 'ALL ALL=NOPASSWD:ALL' | tee /etc/sudoers.d/sudo-nopasswd
4441

tensorflow/tools/tf_sig_build_dockerfiles/Dockerfile.rocm.ub20

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,6 @@ RUN if [ -n "${DWLD_TF_SRC_CMD}" ]; then eval "${DWLD_TF_SRC_CMD}"; fi
5454
COPY devel.usertools /usertools
5555
COPY devel.bashrc /root/.bashrc
5656

57-
# Install tf_keras
58-
RUN pip install --no-deps tf_keras==2.17.0
59-
6057
# Setup ENV variables for tensorflow pip build
6158
ENV TF_NEED_ROCM=1
6259
ENV TF_ROCM_GCC=1

tensorflow/tools/tf_sig_build_dockerfiles/Dockerfile.rocm.ub22

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,6 @@ RUN if [ -n "${DWLD_TF_SRC_CMD}" ]; then eval "${DWLD_TF_SRC_CMD}"; fi
5454
COPY devel.usertools /usertools
5555
COPY devel.bashrc /root/.bashrc
5656

57-
# Install tf_keras
58-
RUN pip install --no-deps tf_keras==2.17.0
59-
6057
# Setup ENV variables for tensorflow pip build
6158
ENV TF_NEED_ROCM=1
6259
ENV TF_ROCM_GCC=1

tensorflow/tools/tf_sig_build_dockerfiles/Dockerfile.rocm.ub24

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,6 @@ RUN if [ -n "${DWLD_TF_SRC_CMD}" ]; then eval "${DWLD_TF_SRC_CMD}"; fi
5454
COPY devel.usertools /usertools
5555
COPY devel.bashrc /root/.bashrc
5656

57-
# Install tf_keras
58-
RUN pip install --no-deps tf_keras==2.17.0
59-
6057
# Setup ENV variables for tensorflow pip build
6158
ENV TF_NEED_ROCM=1
6259
ENV TF_ROCM_GCC=1

tensorflow/tools/tf_sig_build_dockerfiles/setup.build-python_manylinux_2_28.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,3 +91,4 @@ python3 -m pip install --user virtualenv
9191

9292
# Disable the cache dir to save image space, and install packages
9393
python3 -m pip install --no-cache-dir -r $REQUIREMENTS -U
94+
python3 -m pip install --no-cache-dir --no-deps tf-keras==2.17.0

tensorflow/tools/tf_sig_build_dockerfiles/setup.build-python_ubuntu.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,4 +83,4 @@ python3 --version
8383
echo "Install Requirements"
8484
# Disable the cache dir to save image space, and install packages
8585
python3 -m pip install --no-cache-dir -r $REQUIREMENTS -U
86-
python3 -m pip install --no-cache-dir --no-deps tf-keras-nightly
86+
python3 -m pip install --no-cache-dir --no-deps tf-keras==2.17.0

tensorflow/tools/tf_sig_build_dockerfiles/setup.python.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,10 +92,10 @@ python3 -m pip install -U setuptools
9292

9393
if [[ $3 ]]; then
9494
echo "Runtime mode"
95-
python3 -m pip install --no-cache-dir --no-deps tf-keras-nightly
95+
python3 -m pip install --no-cache-dir --no-deps tf-keras==2.17.0
9696
else
9797
echo "Install Requirements"
9898
# Disable the cache dir to save image space, and install packages
9999
python3 -m pip install --no-cache-dir -r $REQUIREMENTS -U
100-
python3 -m pip install --no-cache-dir --no-deps tf-keras-nightly
100+
python3 -m pip install --no-cache-dir --no-deps tf-keras==2.17.0
101101
fi

0 commit comments

Comments
 (0)