Skip to content

Commit 0d97395

Browse files
authored
Correct the logic for PYTORCH_ROCM_ARCH
Only ROCm-7.0 branch has logic overwritten. Needs to correct it. "main" branch or upstream VLLM has correct logic already. This is to fix https://ontrack-internal.amd.com/browse/SWDEV-542723
1 parent f80b3c8 commit 0d97395

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docker/Dockerfile.rocm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ARG BASE_IMAGE=rocm/vllm-dev:base_rocm7.0_base_br0610_rc2_0610_maleksan_rocm_7_0
66
FROM ${BASE_IMAGE} AS base
77

88
ARG ARG_PYTORCH_ROCM_ARCH
9-
ENV PYTORCH_ROCM_ARCH=gfx90a;gfx942;gfx950
9+
ENV PYTORCH_ROCM_ARCH=${ARG_PYTORCH_ROCM_ARCH:-${PYTORCH_ROCM_ARCH}}
1010

1111
# Install some basic utilities
1212
RUN apt-get update -q -y && apt-get install -q -y \

0 commit comments

Comments
 (0)