Repository navigation
Optimize the memory usage of logits processor - #420
Merged
Merged
Conversation
timethink
pushed a commit
to timethink/sglang
that referenced
this pull request
Mar 9, 2025
HanHan009527
added a commit
to HanHan009527/sglang
that referenced
this pull request
Apr 7, 2026
fix deepgemm tag error (sgl-project#420) Co-authored-by: gaorui <[email protected]> fix possible network error in sgl-kernel (sgl-project#425) Co-authored-by: gaorui <[email protected]>
Torches97
pushed a commit
to Torches97/sglang-for-sail
that referenced
this pull request
Dec 1, 2026
…atalog (sgl-project#456) * [CI] [PPU] recipe: Add multi-variant 810E coverage and expand model catalog Integrates and refactors sgl-project#430 onto the sgl-project#420 multi-variant ppu-serving/v1 schema (thanks @Soda4542). - Add OAM-810E board scheduling (1/4/8/16 cards), accuracy_<key>_<chip>.json golden resolution, and baseline_established: false collection until 810E goldens land - Add a 2-machine OAM-810E pr_default gate in recipe_select.py (default PR fast_sanity runs <=3 core policies; touched or filtered 810E models expand on demand; nightly runs all 8) - Consolidate 810E variants for DeepSeek-V4/V4.1/V4-Pro (using T-HEAD/DeepSeek-V4-Pro-0813-W4A8 <=96 chars plus static w8a8_810e catalog), GLM-5.3-Flash (+ 890P fp8), Kimi-K2.6, MiniMax-M3, Qwen3.8-27B, Qwen3.8-Flash-Next, and static GLM-5.3 w8a8_810e with zero 890P drift - Add MiniMax-M3.1-Flash (890P fast_sanity + static 810E catalog) and static public catalogs for Kimi-K3, Kimi-K3.1, Qwen3.5-397B-A17B, and Qwen3.8-2.4T-A95B Refs flytiger-eco#277 * [CI] [PPU] recipe: Enforce board/hardware admission and checked-in golden gate Refs flytiger-eco#277 * [CI] [PPU] recipe: Fix 810E fast_sanity probe/JIT timeout and isort lint Signed-off-by: Yunzshi310 <[email protected]> * ci(ppu): move deepseek-v4-flash-810e-w8a8 to nightly model_sanity Signed-off-by: Yunzshi310 <[email protected]> --------- Signed-off-by: Yunzshi310 <[email protected]>
Torches97
pushed a commit
to Torches97/sglang-for-sail
that referenced
this pull request
Dec 1, 2026
…d GLM-5.3 exemplar (sgl-project#420) * [CI] [PPU] recipe: Add preset authoring guide, catalog validation, and GLM-5.3 exemplar * [CI] [PPU] recipe: Bind effective variant assets in runner and enforce exact placeholder wiring * [CI] [PPU] recipe: Guard cluster MXFP4 revision pins on default variant * [CI] [PPU] recipe: Bind cluster revision pins to exact HF repository ID * fix(ci): enforce canonical preset topologies, PD pair checks, and public variants * [CI] Enforce PPU recipe GPU placement, PD geometry, and credential guards Address full-audit review findings across serving recipe validation and the GLM-5.3 reference exemplar: - Map SGLang launched local GPU IDs (--base-gpu-id / --gpu-id-step) for per-GPU PD IB device maps and reject out-of-bounds single-node/multi-node GPU offsets in recipe validation and Fast Sanity selection. - Enforce PD decode allocation policy parity and per-role prefill_complete eligibility (transfer backend, PP=1, attn_cp=1, dcp=1, tp==attn_dp). - Validate PD peer rank-mapping geometry (decode CP=1, decode PP compatibility, KV-cache sharding attention-TP equality, and DCP constraints) and normalize DeepSeek/GLM DSA page sizes on SAIL. - Validate PP + speculative decoding compatibility and MoE-DP x EP x CP parallel invariants. - Size the GLM-5.3 Zhenwu 810E BF16 exemplar as a 2x16 multi_node_ep layout with verified static weight + KV cache headroom. - Block credential-bearing CLI flags and secret environment variables before validation and public catalog rendering. * [CI] Close consumer-edge credential, DCP, alias, and single-node worker gates Consolidate Round-1 independent review findings across recipe validation and the single-node container runner: - Block generic *-token flags, TOKEN env vars, and argparse prefix abbreviations of credential/TLS flags before validation and catalog rendering. - Enforce single-node topology, card width, and 0..width-1 GPU placement in recipe_runner.run() before model cache access or server launch. - Align prefill_complete attention-DP eligibility with the candidate SGLang branch _validate_prefill_complete implementation and reject --enable-pdmux. - Validate single-role DCP divisibility, prefill->decode DCP direction (rejecting DCP>1 -> DCP1), and MLA requirement for PD decode DCP. - Support --moe-data-parallel-size alias, enforce exact SGLang EnvBool parsing, and reject EAGLE3 under --pp-size > 1. * [CI] Close ServerArgs secret drift, single-node PP selection, and PD DCP KV arch gates * [CI] Require explicit hf_model_id binding before local assets-map KV arch check
Torches97
pushed a commit
to Torches97/sglang-for-sail
that referenced
this pull request
Dec 1, 2026
…atalog (sgl-project#456) * [CI] [PPU] recipe: Add multi-variant 810E coverage and expand model catalog Integrates and refactors sgl-project#430 onto the sgl-project#420 multi-variant ppu-serving/v1 schema (thanks @Soda4542). - Add OAM-810E board scheduling (1/4/8/16 cards), accuracy_<key>_<chip>.json golden resolution, and baseline_established: false collection until 810E goldens land - Add a 2-machine OAM-810E pr_default gate in recipe_select.py (default PR fast_sanity runs <=3 core policies; touched or filtered 810E models expand on demand; nightly runs all 8) - Consolidate 810E variants for DeepSeek-V4/V4.1/V4-Pro (using T-HEAD/DeepSeek-V4-Pro-0813-W4A8 <=96 chars plus static w8a8_810e catalog), GLM-5.3-Flash (+ 890P fp8), Kimi-K2.6, MiniMax-M3, Qwen3.8-27B, Qwen3.8-Flash-Next, and static GLM-5.3 w8a8_810e with zero 890P drift - Add MiniMax-M3.1-Flash (890P fast_sanity + static 810E catalog) and static public catalogs for Kimi-K3, Kimi-K3.1, Qwen3.5-397B-A17B, and Qwen3.8-2.4T-A95B Refs flytiger-eco#277 * [CI] [PPU] recipe: Enforce board/hardware admission and checked-in golden gate Refs flytiger-eco#277 * [CI] [PPU] recipe: Fix 810E fast_sanity probe/JIT timeout and isort lint Signed-off-by: Yunzshi310 <[email protected]> * ci(ppu): move deepseek-v4-flash-810e-w8a8 to nightly model_sanity Signed-off-by: Yunzshi310 <[email protected]> --------- Signed-off-by: Yunzshi310 <[email protected]>
WhiteCmile
added a commit
to WhiteCmile/sglang
that referenced
this pull request
Dec 1, 2026
…t limit) (issue sgl-project#433) Slimming wave 2, sgl-project#416 plan PR-10 + PR-11. Since sgl-project#420 DFlash always uses native ingress, both switches only ever produce a startup error in a non-default value, so the env reads and the credit lifecycle go: - DT_DRAFT_SLOT_DECOUPLE: `self._slot_decouple = self._is_dflash`. The compute-busy staging code (_feature_staging_compute_busy, per-slot scratch) stays — it is the live path for eagle3/standalone, where _slot_decouple is False. - DT_DRAFT_ADMISSION: the cuda-ipc proposal-credit lifecycle is deleted (_acquire/_release/_available_direct_proposal_admission, direct_proposal_admission_limit, _direct_proposal_admission_inflight, the admission_credit fields of PendingEagle3Completion and PendingCandidatePush, and DT_DIRECT_PROPOSAL_ADMISSION_LIMIT with its resolver). Under the batch bound the cuda-ipc path has no admission resource, so _proposal_admission_blocked / _proposal_wave_buffer_exhausted / _take_batch's cuda-ipc arm and the free_result_rows cuda-ipc arm report "never blocked" / the registered constant, which is what the default already did. _available_dflash_result_slots and its reservation accounting stay: non-cuda-ipc uses them. - The require check keeps only the DT_RING_CONFIRMATION clause (deleted in the next issue). No behaviour change on any default path. The credit test file becomes the smaller admission contract test (the cuda-ipc gates never block; the mmap pool still gates on raw emptiness); the confirmation-free capacity fixture drops its stub of the deleted method.
1195343015
pushed a commit
to 1195343015/sglang
that referenced
this pull request
Dec 2, 2026
…d GLM-5.3 exemplar (sgl-project#420) * [CI] [PPU] recipe: Add preset authoring guide, catalog validation, and GLM-5.3 exemplar * [CI] [PPU] recipe: Bind effective variant assets in runner and enforce exact placeholder wiring * [CI] [PPU] recipe: Guard cluster MXFP4 revision pins on default variant * [CI] [PPU] recipe: Bind cluster revision pins to exact HF repository ID * fix(ci): enforce canonical preset topologies, PD pair checks, and public variants * [CI] Enforce PPU recipe GPU placement, PD geometry, and credential guards Address full-audit review findings across serving recipe validation and the GLM-5.3 reference exemplar: - Map SGLang launched local GPU IDs (--base-gpu-id / --gpu-id-step) for per-GPU PD IB device maps and reject out-of-bounds single-node/multi-node GPU offsets in recipe validation and Fast Sanity selection. - Enforce PD decode allocation policy parity and per-role prefill_complete eligibility (transfer backend, PP=1, attn_cp=1, dcp=1, tp==attn_dp). - Validate PD peer rank-mapping geometry (decode CP=1, decode PP compatibility, KV-cache sharding attention-TP equality, and DCP constraints) and normalize DeepSeek/GLM DSA page sizes on SAIL. - Validate PP + speculative decoding compatibility and MoE-DP x EP x CP parallel invariants. - Size the GLM-5.3 Zhenwu 810E BF16 exemplar as a 2x16 multi_node_ep layout with verified static weight + KV cache headroom. - Block credential-bearing CLI flags and secret environment variables before validation and public catalog rendering. * [CI] Close consumer-edge credential, DCP, alias, and single-node worker gates Consolidate Round-1 independent review findings across recipe validation and the single-node container runner: - Block generic *-token flags, TOKEN env vars, and argparse prefix abbreviations of credential/TLS flags before validation and catalog rendering. - Enforce single-node topology, card width, and 0..width-1 GPU placement in recipe_runner.run() before model cache access or server launch. - Align prefill_complete attention-DP eligibility with the candidate SGLang branch _validate_prefill_complete implementation and reject --enable-pdmux. - Validate single-role DCP divisibility, prefill->decode DCP direction (rejecting DCP>1 -> DCP1), and MLA requirement for PD decode DCP. - Support --moe-data-parallel-size alias, enforce exact SGLang EnvBool parsing, and reject EAGLE3 under --pp-size > 1. * [CI] Close ServerArgs secret drift, single-node PP selection, and PD DCP KV arch gates * [CI] Require explicit hf_model_id binding before local assets-map KV arch check
1195343015
pushed a commit
to 1195343015/sglang
that referenced
this pull request
Dec 2, 2026
…atalog (sgl-project#456) * [CI] [PPU] recipe: Add multi-variant 810E coverage and expand model catalog Integrates and refactors sgl-project#430 onto the sgl-project#420 multi-variant ppu-serving/v1 schema (thanks @Soda4542). - Add OAM-810E board scheduling (1/4/8/16 cards), accuracy_<key>_<chip>.json golden resolution, and baseline_established: false collection until 810E goldens land - Add a 2-machine OAM-810E pr_default gate in recipe_select.py (default PR fast_sanity runs <=3 core policies; touched or filtered 810E models expand on demand; nightly runs all 8) - Consolidate 810E variants for DeepSeek-V4/V4.1/V4-Pro (using T-HEAD/DeepSeek-V4-Pro-0813-W4A8 <=96 chars plus static w8a8_810e catalog), GLM-5.3-Flash (+ 890P fp8), Kimi-K2.6, MiniMax-M3, Qwen3.8-27B, Qwen3.8-Flash-Next, and static GLM-5.3 w8a8_810e with zero 890P drift - Add MiniMax-M3.1-Flash (890P fast_sanity + static 810E catalog) and static public catalogs for Kimi-K3, Kimi-K3.1, Qwen3.5-397B-A17B, and Qwen3.8-2.4T-A95B Refs sgl-project#277 * [CI] [PPU] recipe: Enforce board/hardware admission and checked-in golden gate Refs sgl-project#277 * [CI] [PPU] recipe: Fix 810E fast_sanity probe/JIT timeout and isort lint Signed-off-by: Yunzshi310 <[email protected]> * ci(ppu): move deepseek-v4-flash-810e-w8a8 to nightly model_sanity Signed-off-by: Yunzshi310 <[email protected]> --------- Signed-off-by: Yunzshi310 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.