File tree Expand file tree Collapse file tree 3 files changed +9
-0
lines changed
jupyter/rocm/tensorflow/ubi9-python-3.12
rocm-tensorflow/ubi9-python-3.12
tensorflow/ubi9-python-3.12 Expand file tree Collapse file tree 3 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -114,6 +114,7 @@ WORKDIR /opt/app-root/src
114114###########################
115115FROM rocm-jupyter-datascience AS rocm-jupyter-tensorflow
116116
117+ ARG JUPYTER_REUSABLE_UTILS=jupyter/utils
117118ARG DATASCIENCE_SOURCE_CODE=jupyter/datascience/ubi9-python-3.12
118119ARG TENSORFLOW_SOURCE_CODE=jupyter/rocm/tensorflow/ubi9-python-3.12
119120
@@ -145,6 +146,8 @@ RUN chmod -R g+w /opt/app-root/lib/python3.12/site-packages && \
145146 fix-permissions /opt/app-root -P
146147USER 1001
147148
149+ COPY ${JUPYTER_REUSABLE_UTILS}/usercustomize.pth ${JUPYTER_REUSABLE_UTILS}/monkey_patch_protobuf_6x.py /opt/app-root/lib/python3.12/site-packages/
150+
148151WORKDIR /opt/app-root/src
149152
150153LABEL name="rhoai/odh-workbench-jupyter-tensorflow-rocm-py312-rhel9" \
Original file line number Diff line number Diff line change @@ -48,6 +48,7 @@ RUN curl -L https://mirror.openshift.com/pub/openshift-v4/$(uname -m)/clients/oc
4848###########################
4949FROM rocm-base AS rocm-runtime-tensorflow
5050
51+ ARG JUPYTER_REUSABLE_UTILS=jupyter/utils
5152ARG TENSORFLOW_SOURCE_CODE=runtimes/rocm-tensorflow/ubi9-python-3.12
5253
5354WORKDIR /opt/app-root/bin
@@ -69,6 +70,8 @@ RUN chmod -R g+w /opt/app-root/lib/python3.12/site-packages && \
6970 fix-permissions /opt/app-root -P
7071USER 1001
7172
73+ COPY ${JUPYTER_REUSABLE_UTILS}/usercustomize.pth ${JUPYTER_REUSABLE_UTILS}/monkey_patch_protobuf_6x.py /opt/app-root/lib/python3.12/site-packages/
74+
7275WORKDIR /opt/app-root/src
7376
7477LABEL name="rhoai/odh-pipeline-runtime-tensorflow-rocm-py312-rhel9" \
Original file line number Diff line number Diff line change @@ -52,6 +52,7 @@ RUN curl -L https://mirror.openshift.com/pub/openshift-v4/$(uname -m)/clients/oc
5252############################
5353FROM cuda-base AS cuda-runtime-tensorflow
5454
55+ ARG JUPYTER_REUSABLE_UTILS=jupyter/utils
5556ARG TENSORFLOW_SOURCE_CODE=runtimes/tensorflow/ubi9-python-3.12
5657
5758WORKDIR /opt/app-root/bin
@@ -69,6 +70,8 @@ RUN echo "Installing softwares and packages" && \
6970 chmod -R g+w /opt/app-root/lib/python3.12/site-packages && \
7071 fix-permissions /opt/app-root -P
7172
73+ COPY ${JUPYTER_REUSABLE_UTILS}/usercustomize.pth ${JUPYTER_REUSABLE_UTILS}/monkey_patch_protobuf_6x.py /opt/app-root/lib/python3.12/site-packages/
74+
7275WORKDIR /opt/app-root/src
7376
7477LABEL name="rhoai/odh-pipeline-runtime-tensorflow-cuda-py312-rhel9" \
You can’t perform that action at this time.
0 commit comments