Skip to content

Commit 75648b1

Browse files
authored
[ROCm][CI] Fix config/test_config_generation.py (#29142)
Signed-off-by: charlifu <[email protected]>
1 parent 460d02a commit 75648b1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docker/Dockerfile.rocm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ FROM ${BASE_IMAGE} AS base
77

88
ARG ARG_PYTORCH_ROCM_ARCH
99
ENV PYTORCH_ROCM_ARCH=${ARG_PYTORCH_ROCM_ARCH:-${PYTORCH_ROCM_ARCH}}
10+
ENV RAY_EXPERIMENTAL_NOSET_ROCR_VISIBLE_DEVICES=1
11+
ENV RAY_EXPERIMENTAL_NOSET_HIP_VISIBLE_DEVICES=1
1012

1113
# Install some basic utilities
1214
RUN apt-get update -q -y && apt-get install -q -y \
@@ -121,8 +123,6 @@ COPY --from=export_vllm /benchmarks ${COMMON_WORKDIR}/vllm/benchmarks
121123
COPY --from=export_vllm /examples ${COMMON_WORKDIR}/vllm/examples
122124
COPY --from=export_vllm /docker ${COMMON_WORKDIR}/vllm/docker
123125

124-
ENV RAY_EXPERIMENTAL_NOSET_ROCR_VISIBLE_DEVICES=1
125-
ENV RAY_EXPERIMENTAL_NOSET_HIP_VISIBLE_DEVICES=1
126126
ENV TOKENIZERS_PARALLELISM=false
127127

128128
# ENV that can improve safe tensor loading, and end-to-end time

0 commit comments

Comments
 (0)