From f3ea5b2dbf8b029e03aa566854398b94e8c63aee Mon Sep 17 00:00:00 2001 From: chenjw28 <792430652@qq.com> Date: Wed, 17 Jun 2026 14:16:40 +0800 Subject: [PATCH] x --- docker/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 9e1c4c6..9a48ab7 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -286,7 +286,9 @@ COPY scripts/cache_warmer.py /opt/scripts/cache_warmer.py # =========================================================================== RUN set -ex && \ export http_proxy=${GIT_PROXY} https_proxy=${GIT_PROXY} && \ - # 1) 注册 vllm 源码包,不让 pip 解析 torch 依赖 + # 1) 准备 vllm editable 安装所需构建工具(--no-build-isolation 必须预装) + ${VENV}/bin/pip install -U "setuptools>=77.0.3" setuptools_scm setuptools_rust wheel && \ + # 2) 注册 vllm 源码包,不让 pip 解析 torch 依赖 cd /opt/vllm && \ ${VENV}/bin/pip install -e . --no-build-isolation --no-deps && \ # 2) 安装 ROCm PyTorch(后续依赖解析用 ROCm 源补齐 triton-rocm)