"...git@developer.sourcefind.cn:2222/OpenDAS/vllm_cscc.git" did not exist on "f954d0715c8b68e780aac4a4f3ffd1ab56bebfcd"
Unverified Commit c8c99dd1 authored by Dmitry Tokarev's avatar Dmitry Tokarev Committed by GitHub
Browse files

fix(sglang): install libjsoncpp25 so bundled mooncake engine can load (#8645)


Signed-off-by: default avatarDmitry Tokarev <dtokarev@nvidia.com>
Co-authored-by: default avatarClaude Opus 4.7 (1M context) <noreply@anthropic.com>
parent 61b0ffcd
...@@ -77,6 +77,16 @@ RUN --mount=type=bind,source=./container/deps/requirements.common.txt,target=/tm ...@@ -77,6 +77,16 @@ RUN --mount=type=bind,source=./container/deps/requirements.common.txt,target=/tm
export PIP_CACHE_DIR=/root/.cache/pip && \ export PIP_CACHE_DIR=/root/.cache/pip && \
pip install --break-system-packages --no-deps $(grep -E '^nvtx==' /tmp/requirements.common.txt) pip install --break-system-packages --no-deps $(grep -E '^nvtx==' /tmp/requirements.common.txt)
# The upstream lmsysorg/sglang v0.5.10.post1 runtime image bundles the mooncake
# python engine (`.so`) but does not declare its runtime apt dep libjsoncpp25,
# so `from mooncake.engine import TransferEngine` fails with
# `ImportError: libjsoncpp.so.25: cannot open shared object file`.
# TODO: re-check whether this apt install is still needed after upgrading sglang
# past v0.5.10.post1 — upstream may fix the packaging.
RUN apt-get update && \
apt-get install -y --no-install-recommends libjsoncpp25 && \
rm -rf /var/lib/apt/lists/*
# Copy tests, deploy and components for CI with correct ownership # Copy tests, deploy and components for CI with correct ownership
COPY --chmod=775 --chown=dynamo:0 tests /workspace/tests COPY --chmod=775 --chown=dynamo:0 tests /workspace/tests
COPY --chmod=775 --chown=dynamo:0 examples /workspace/examples COPY --chmod=775 --chown=dynamo:0 examples /workspace/examples
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment