Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions docker/manylinux/Dockerfile.jax-manylinux_2_28-therock
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
FROM quay.io/pypa/manylinux_2_28_x86_64

### Container Build Arguments:
# TheRock nightly index URL (GPU-family-specific).
ARG THEROCK_INDEX_URL=https://rocm.nightlies.amd.com/v2/gfx950-dcgpu/
# TheRock nightly multi-arch index URL.
ARG THEROCK_INDEX_URL=https://rocm.nightlies.amd.com/whl-multi-arch/
# TheRock version number (e.g. "7.13.0a20260401" or "" for latest).
ARG THEROCK_VERSION=""
# GPU architecture / device family (selects the rocm[device-<arch>] extra).
ARG GFX_ARCH=gfx950
ARG GFX_ARCH=device-gfx950

# Install patchelf and headers for numactl
RUN --mount=type=cache,target=/var/cache/dnf \
Expand All @@ -22,7 +22,7 @@ RUN --mount=type=cache,target=/var/cache/dnf \
RUN --mount=type=cache,mode=0755,target=/root/.cache/pip \
/opt/python/cp312-cp312/bin/python3 -m pip install \
--pre --index-url "${THEROCK_INDEX_URL}" \
"rocm[libraries,devel,device-${GFX_ARCH}]${THEROCK_VERSION:+==}${THEROCK_VERSION}" && \
"rocm[libraries,devel,${GFX_ARCH}]${THEROCK_VERSION:+==}${THEROCK_VERSION}" && \
ln -sf /opt/python/cp312-cp312/bin/rocm-sdk /usr/local/bin/rocm-sdk && \
rocm-sdk init

Expand Down
Loading