This commit is contained in:
parent
355ba36f37
commit
dc3aa8c90d
|
|
@ -72,9 +72,11 @@ RUN pip install . && \
|
|||
python3 -m pip wheel . --no-deps -w dist/
|
||||
|
||||
|
||||
# builder-extras 阶段,vllm 安装(兼容 torch 2.7.1)
|
||||
# builder-extras 阶段:补充工具链 + 安装 vllm
|
||||
WORKDIR /opt
|
||||
RUN pip install setuptools_scm && \
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
ninja-build cmake build-essential python3-dev git && \
|
||||
pip install setuptools wheel 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 && \
|
||||
|
|
|
|||
Loading…
Reference in New Issue