diff --git a/Dockerfile b/Dockerfile index 992b1588726..c49240663a2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -38,6 +38,8 @@ ARG VLLM_REPO=https://github.com/vllm-project/vllm.git ARG VLLM_TAG=v0.7.3 RUN git clone --depth 1 $VLLM_REPO --branch $VLLM_TAG /workspace/vllm RUN VLLM_TARGET_DEVICE="empty" python3 -m pip install /workspace/vllm/ +# In x86, triton will be installed by vllm. But in Ascend, triton doesn't work correctly. we need to uninstall it. +RUN python3 -m pip uninstall -y triton # Install vllm-ascend RUN python3 -m pip install /workspace/vllm-ascend/ --extra-index https://download.pytorch.org/whl/cpu/