x
This commit is contained in:
+3
-1
@@ -286,7 +286,9 @@ COPY scripts/cache_warmer.py /opt/scripts/cache_warmer.py
|
|||||||
# ===========================================================================
|
# ===========================================================================
|
||||||
RUN set -ex && \
|
RUN set -ex && \
|
||||||
export http_proxy=${GIT_PROXY} https_proxy=${GIT_PROXY} && \
|
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 && \
|
cd /opt/vllm && \
|
||||||
${VENV}/bin/pip install -e . --no-build-isolation --no-deps && \
|
${VENV}/bin/pip install -e . --no-build-isolation --no-deps && \
|
||||||
# 2) 安装 ROCm PyTorch(后续依赖解析用 ROCm 源补齐 triton-rocm)
|
# 2) 安装 ROCm PyTorch(后续依赖解析用 ROCm 源补齐 triton-rocm)
|
||||||
|
|||||||
Reference in New Issue
Block a user