This commit is contained in:
hailin 2025-07-03 09:20:43 +08:00
parent 79d4ccae04
commit 5242a5574f
1 changed files with 7 additions and 7 deletions

View File

@ -72,12 +72,12 @@ RUN pip install . && \
python3 -m pip wheel . --no-deps -w dist/ python3 -m pip wheel . --no-deps -w dist/
# # builder-extras 阶段vllm 安装加上 WORKDIR放在 flashinfer 后 # builder-extras 阶段vllm 安装(兼容 torch 2.7.1
# WORKDIR /opt WORKDIR /opt
# RUN git clone -b v0.4.2 https://github.com/vllm-project/vllm.git && \ RUN git clone -b v0.9.1 https://github.com/vllm-project/vllm.git && \
# cd vllm && \ cd vllm && \
# python3 -m pip install ".[triton]" --no-build-isolation && \ python3 -m pip install . --no-build-isolation --no-deps && \
# python3 -m pip wheel . --no-deps -w /tmp/vllm_wheels python3 -m pip wheel . --no-deps -w /tmp/vllm_wheels
# ── 编译你本地 sglang 源码并打 wheel ─────────────────────────────────────── # ── 编译你本地 sglang 源码并打 wheel ───────────────────────────────────────
@ -91,7 +91,7 @@ RUN mkdir -p /wheels && \
cp /tmp/torch_dist/torch*.whl /wheels/ && \ cp /tmp/torch_dist/torch*.whl /wheels/ && \
cp /opt/vision/dist/torchvision-*.whl /wheels/ && \ cp /opt/vision/dist/torchvision-*.whl /wheels/ && \
cp /opt/flashinfer/dist/flashinfer_python-*.whl /wheels/ && \ cp /opt/flashinfer/dist/flashinfer_python-*.whl /wheels/ && \
# cp /tmp/vllm_wheels/vllm-*.whl /wheels/ && \ cp /tmp/vllm_wheels/vllm-*.whl /wheels/ && \
cp /tmp/sg_wheels/sglang-*.whl /wheels/ cp /tmp/sg_wheels/sglang-*.whl /wheels/
############################################################################### ###############################################################################