Published SGLang image refuses SGLang embedders, so an embedder and a guard can't share one SIE server
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 42/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- docker, python
調査の方向性
Start with the baked bundle compatibility check and compare packages/sie_server/bundles/sglang.yaml with packages/sie_server/bundles/sglang-embedding.yaml; the issue says their dependencies match and the split is for worker pool isolation. Check the image build configuration and docs/compatibility.md to see how bundles are selected and which images are published. Done means the reported embedder and guard can both run from a published image, or the compatibility docs clearly explain the supported setup.
索引モデルが issue の本文から書いたものです。
説明
What we were testing
We wanted to check that a reader can reproduce a simple setup with a published SIE image: an SGLang embedding model and an SGLang guard model sharing one 24 GB L4, served by one SIE server. The pair is Qwen/Qwen3-Embedding-4B and Qwen/Qwen3Guard-Gen-0.6B. It's the case SIE's SGLang memory sizing (#763) was built for: plain SGLang at its defaults runs out of memory on the second server, and SIE sizes each one from the model files so both fit.
The test is the cookbook recipe why_sie/share_one_gpu_between_two_sglang_models (superlinked/cookbook#39). It runs three setups on one GPU, all from ghcr.io/superlinked/sie-server:v0.11.1-cuda12-sglang:
- Plain SGLang at its defaults (the guard runs out of memory, as expected).
- Plain SGLang with
--mem-fraction-staticset by hand (both start). - One SIE server with both models and KV budgets of 8,192 and 16,384 tokens.
Setups 1 and 2 behaved as expected. Setup 3 didn't start.
What happened
Inside the published image, on one NVIDIA L4:
python -m sie_server.cli serve --host 127.0.0.1 --port 8080 \
--models-dir <dir with the two v0.11.1 model configs, kv_budget_tokens set> \
--models Qwen/Qwen3-Embedding-4B
Error: Model(s) Qwen/Qwen3-Embedding-4B are incompatible with baked bundle 'sglang'; use an image built for bundle 'sglang-embedding'
The guard is in the sglang bundle and the embedder in sglang-embedding. The image is baked for sglang, so it refuses the embedder, and there's no published image for sglang-embedding (docs/compatibility.md lists all five SGLang embedders as "no published image serves the sglang-embedding bundle", on v0.11.1 and on main). An image built with --build-arg BUNDLE=sglang-embedding would refuse the guard instead.
So with the released images, one SIE server can't serve an SGLang embedder next to an SGLang generation model, and none of the SGLang embedders can be served at all.
The same two models in one server, from the same source in an environment that isn't baked for a bundle, start and serve fine: SIE reserved 12.06 GiB for the embedder and 6.27 GiB for the guard and both answered with no errors.
Why it looks avoidable
packages/sie_server/bundles/sglang-embedding.yaml says its dependencies are kept in lockstep with sglang.yaml and that "the bundle split exists only for worker pool isolation". The packages are the same; only the baked-bundle check keeps the two apart.
What would fix it
Any of these would let the setup above run from a published image:
- Let an image baked for
sglangalso servesglang-embeddingmodels (same dependencies), or mark the two bundles compatible. - Publish a
cuda12-sglang-embeddingimage, and document how to run an embedder and a guard together (two servers, or one image that serves both).
Until then, docs/compatibility.md could say plainly that SGLang embedders need a custom image build.
- 主要言語
- Python
- スター
- 3.5k
- フォーク
- 328
- 平均マージ
- 16時間 25分
- マージ済み PR(30日)
- 121
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
superlinked/sie のほかの issue
-
MODEL_NOT_FOUND gives no suggestion for a model listed only as model:profile対応中かも @ShaiShmuel が今日担当しました。 オープンenhancement rust
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
superlinked/sie#985 ·
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
superlinked/sie#903 · コメント 4 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
superlinked/sie#892 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
superlinked/sie#851 · コメント 4 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
superlinked/sie#840 ·
メンテナーはふだん 1 日以内に返信
superlinked/sie の issue をすべて見る
似ている issue
-
Feature Request
難易度 1/5 1〜3時間 初心者へのやさしさ 68/100
spotDL/spotify-downloader#2839 ·
メンテナーはふだん 1 日以内に返信
-
Missing license fileオープン
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
-
ops/setup.py writes ops/hub.json non-atomically (the torn-write class of #219, in the installer)オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 79/100
mattabate/life-distributable#230 ·
メンテナーはふだん 1 日以内に返信
-
enhancement triage:not-checked
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
inventree/InvenTree#13318 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
google/secops-wrapper#229 ·