Skip to content

Commit 7ad530b

Browse files
committed
Fix runtime deps in 7.14 dockerfile: kpacks, PATH, ldconfig, pyyaml
Switch hipTensor/rocALUTION from -host to the meta package so the per-arch device kernels (.kpack) are installed; without them GPU kernel launches fail with "device kernel image is invalid". Also restore native-image parity dropped from the old dockerfile: /opt/rocm/bin on PATH, /opt/rocm/lib registered with the dynamic loader, and pyyaml (required by rocprofv3).
1 parent 2ef1870 commit 7ad530b

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

‎Dockerfiles/ubuntu-24.04-rocm.Dockerfile‎

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,17 @@ RUN mkdir --parents --mode=0755 /etc/apt/keyrings && \
6666
RUN apt install -y \
6767
amdrocm-core-sdk${ROCM_VERSION} \
6868
amdrocm-hiptensor-dev${ROCM_VERSION} \
69-
amdrocm-hiptensor-host${ROCM_VERSION} \
69+
amdrocm-hiptensor${ROCM_VERSION} \
7070
amdrocm-rocalution-dev${ROCM_VERSION} \
71-
amdrocm-rocalution-host${ROCM_VERSION}
71+
amdrocm-rocalution${ROCM_VERSION}
72+
73+
# Put ROCm binaries on PATH and register its libraries with the dynamic loader
74+
ENV PATH="/opt/rocm/bin:${PATH}"
75+
RUN echo "/opt/rocm/lib" >> /etc/ld.so.conf.d/rocm.conf \
76+
&& ldconfig
77+
78+
# Python packages required by ROCm tooling
79+
RUN python3 -m pip install --no-cache-dir --break-system-packages pyyaml
7280

7381
WORKDIR /workspace
7482
CMD ["/bin/bash"]

0 commit comments

Comments
 (0)