Skip to content

Commit 615f485

Browse files
Fix vLLM ROCm build
Signed-off-by: Vaibhav Jain <[email protected]>
1 parent ee8c45f commit 615f485

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile.rocm.ubi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
## Global Args ##################################################################
22
ARG BASE_UBI_IMAGE_TAG=9.5-1742914212
33
ARG PYTHON_VERSION=3.12
4-
ARG VLLM_VERSION
4+
ARG VLLM_VERSION="v0.8.4"
55
# Default ROCm ARCHes to build vLLM for.
66
ARG PYTORCH_ROCM_ARCH="gfx908;gfx90a;gfx942;gfx1100"
77
ARG MAX_JOBS=12
@@ -47,7 +47,7 @@ gpgkey=https://repo.radeon.com/rocm/rocm.gpg.key" > /etc/yum.repos.d/amdgpu.repo
4747

4848

4949
RUN --mount=type=cache,target=/root/.cache/uv \
50-
export version="$(awk -F. '{print $1"."$2}' <<< $ROCM_VERSION)" && \
50+
export version="$(awk -F. '{print $1"."$2}' <<< ${ROCM_VERSION})" && \
5151
uv pip install --pre \
5252
--index-url "https://download.pytorch.org/whl/rocm${version}" \
5353
torch==2.7.0+rocm${version}\

0 commit comments

Comments
 (0)