Skip to content

Commit 9651df2

Browse files
committed
pin triton to 3.3.0
1 parent 2a61d16 commit 9651df2

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

Dockerfile.rocm.ubi

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@ FROM rocm_base AS vllm-openai
169169
ARG MAX_JOBS
170170
ARG FLASH_ATTENTION_WHEEL_STRATEGY
171171
ARG VLLM_WHEEL_STRATEGY
172+
ARG ROCM_VERSION
172173

173174
WORKDIR /workspace
174175

@@ -187,11 +188,14 @@ RUN --mount=type=bind,from=build_amdsmi,src=/install,target=/install/amdsmi/ \
187188
export version="$(awk -F. '{print $1"."$2}' <<< $ROCM_VERSION)" && \
188189
uv pip install \
189190
--index-strategy=unsafe-best-match \
190-
--extra-index-url "https://download.pytorch.org/whl/nightly/rocm${version}" \
191+
--extra-index-url "https://download.pytorch.org/whl/rocm${version}" \
191192
/install/amdsmi/*.whl\
192193
/install/flashattention/*.whl\
193194
"$(echo /install/vllm/*.whl)[audio,video,tensorizer]" \
194-
&& uv pip install blobfile
195+
blobfile && \
196+
uv pip install --force-reinstall \
197+
--extra-index-url "https://download.pytorch.org/whl/rocm${version}" \
198+
pytorch-triton-rocm==3.3.0 triton==3.3.0
195199

196200
ENV HF_HUB_OFFLINE=1 \
197201
HOME=/home/vllm \

0 commit comments

Comments
 (0)