File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
jupyter/rocm/tensorflow/ubi9-python-3.12
runtimes/rocm-tensorflow/ubi9-python-3.12 Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -166,7 +166,8 @@ COPY ${TENSORFLOW_SOURCE_CODE}/requirements.txt ./
166
166
RUN echo "Installing softwares and packages" && \
167
167
# This may have to download and compile some dependencies, and as we don't lock requirements from `build-system.requires`,
168
168
# we often don't know the correct hashes and `--require-hashes` would therefore fail on non amd64, where building is common.
169
- uv pip install --strict --no-deps --no-cache --no-config --no-progress --verify-hashes --compile-bytecode --index-strategy=unsafe-best-match --requirements=./requirements.txt --build-constraints=./requirements.txt && \
169
+ # Not using --build-constraints=./requirements.txt because error: Unnamed requirements are not allowed as constraints (found: `https://repo.radeon.com/rocm/manylinux/rocm-rel-6.4/
170
+ uv pip install --strict --no-deps --no-cache --no-config --no-progress --verify-hashes --compile-bytecode --index-strategy=unsafe-best-match --requirements=./requirements.txt && \
170
171
# setup path for runtime configuration
171
172
mkdir /opt/app-root/runtimes && \
172
173
# Remove default Elyra runtime-images \
Original file line number Diff line number Diff line change @@ -91,7 +91,8 @@ COPY ${TENSORFLOW_SOURCE_CODE}/utils ./utils/
91
91
RUN echo "Installing softwares and packages" && \
92
92
# This may have to download and compile some dependencies, and as we don't lock requirements from `build-system.requires`,
93
93
# we often don't know the correct hashes and `--require-hashes` would therefore fail on non amd64, where building is common.
94
- uv pip install --strict --no-deps --no-cache --no-config --no-progress --verify-hashes --compile-bytecode --index-strategy=unsafe-best-match --requirements=./requirements.txt --build-constraints=./requirements.txt && \
94
+ # Not using --build-constraints=./requirements.txt because error: Unnamed requirements are not allowed as constraints (found: `https://repo.radeon.com/rocm/manylinux/rocm-rel-6.4/
95
+ uv pip install --strict --no-deps --no-cache --no-config --no-progress --verify-hashes --compile-bytecode --index-strategy=unsafe-best-match --requirements=./requirements.txt && \
95
96
# Fix permissions to support pip in Openshift environments \
96
97
chmod -R g+w /opt/app-root/lib/python3.12/site-packages && \
97
98
fix-permissions /opt/app-root -P
You can’t perform that action at this time.
0 commit comments