Add Inkling model support (#31681)
Co-authored-by: Chunan Zeng <zcnrex@gmail.com> Co-authored-by: Ke Bao <ispobaoke@gmail.com> Co-authored-by: Yanbin Jiang <jybsuper@gmail.com> Co-authored-by: Yuhao Yang <47235274+yhyang201@users.noreply.github.com> Co-authored-by: Qiaolin Yu <qiaolin.yu@radixark.ai> Co-authored-by: Zhichen Zeng <zczeng@uw.edu> Co-authored-by: Aurick Qiao <aurick@thinkingmachines.ai> Co-authored-by: Joseph <jk@thinkingmachines.ai>
This commit is contained in:
co-authored by
Chunan Zeng
Ke Bao
Yanbin Jiang
Yuhao Yang
Qiaolin Yu
Zhichen Zeng
Aurick Qiao
Joseph
parent
829e9ce9d5
commit
02236fa38c
@@ -221,6 +221,7 @@ RUN --mount=type=cache,target=/root/.cache/pip \
|
||||
# these paths invalidate the dep-install layer, but Python source changes don't.
|
||||
COPY python/pyproject.toml /tmp/sglang_deps/python/pyproject.toml
|
||||
COPY rust/sglang-grpc /tmp/sglang_deps/rust/sglang-grpc
|
||||
COPY rust/sglang-mm /tmp/sglang_deps/rust/sglang-mm
|
||||
COPY proto /tmp/sglang_deps/proto
|
||||
|
||||
# Install sglang dependencies (torch, transformers, etc.)
|
||||
@@ -257,6 +258,10 @@ RUN --mount=type=cache,target=/root/.cache/pip \
|
||||
&& rm -rf /tmp/sglang_deps \
|
||||
&& pip freeze | grep -v "^sglang==" > /sgl-workspace/constraints.txt
|
||||
|
||||
# distro resolves to the apt python3-distro under /usr/lib/python3, which the runtime
|
||||
# stage does not COPY; force a pip copy into /usr/local so it survives the stage split.
|
||||
RUN python3 -m pip install --ignore-installed --no-deps distro
|
||||
|
||||
########################################################
|
||||
# PARALLEL STAGE 2: DeepEP Builder (needs torch_deps)
|
||||
########################################################
|
||||
|
||||
Reference in New Issue
Block a user