This commit is contained in:
hailin 2025-07-02 14:02:52 +08:00
parent d53a433b62
commit 5a1acfa8e3
1 changed files with 4 additions and 1 deletions

View File

@ -58,7 +58,10 @@ RUN python3 setup.py bdist_wheel
WORKDIR /opt
RUN git clone https://github.com/flashinfer-ai/flashinfer.git
WORKDIR /opt/flashinfer
RUN python3 setup.py bdist_wheel
RUN pip install -r requirements.txt && \
pip install . && \
python3 -m pip wheel . --no-deps -w dist/
# ── 编译你本地 sglang 源码并打 wheel ───────────────────────────────────────
COPY ./sglang /sgl/sglang