From 355ba36f37b531ba8eadd0809a730452205ec0ac Mon Sep 17 00:00:00 2001 From: hailin Date: Thu, 3 Jul 2025 09:23:39 +0800 Subject: [PATCH] . --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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