diff --git a/Dockerfile b/Dockerfile index 68ac115..c5281e8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -74,7 +74,8 @@ RUN pip install . && \ # builder-extras 阶段,vllm 安装(兼容 torch 2.7.1) WORKDIR /opt -RUN git clone -b v0.9.1 https://github.com/vllm-project/vllm.git && \ +RUN pip install setuptools_scm && \ + git clone -b v0.9.1 https://github.com/vllm-project/vllm.git && \ cd vllm && \ python3 -m pip install . --no-build-isolation --no-deps && \ python3 -m pip wheel . --no-deps -w /tmp/vllm_wheels