This commit is contained in:
hailin 2025-07-03 09:06:43 +08:00
parent 1a52ead0a6
commit 862ac978be
1 changed files with 6 additions and 6 deletions

View File

@ -72,12 +72,12 @@ RUN pip install . && \
python3 -m pip wheel . --no-deps -w dist/
# builder-extras 阶段vllm 安装加上 WORKDIR放在 flashinfer 后)
WORKDIR /opt
RUN git clone -b v0.4.2 https://github.com/vllm-project/vllm.git && \
cd vllm && \
python3 -m pip install ".[triton]" --no-build-isolation && \
python3 -m pip wheel . --no-deps -w /tmp/vllm_wheels
# # builder-extras 阶段vllm 安装加上 WORKDIR放在 flashinfer 后)
# WORKDIR /opt
# RUN git clone -b v0.4.2 https://github.com/vllm-project/vllm.git && \
# cd vllm && \
# python3 -m pip install ".[triton]" --no-build-isolation && \
# python3 -m pip wheel . --no-deps -w /tmp/vllm_wheels
# ── 编译你本地 sglang 源码并打 wheel ───────────────────────────────────────