mirror of
https://github.com/kvcache-ai/sglang.git
synced 2026-11-05 01:07:39 +00:00
[PR #73] [MERGED] fix(dsv4): lazily allocate layerwise prefill slots #72
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
kvcache-ai/sglang#72
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/kvcache-ai/sglang/pull/73
Author: @yyj6666667
Created: 8/5/2026
Status: ✅ Merged
Merged: 8/6/2026
Merged by: @yyj6666667
Base:
main← Head:feat/dsv4-lazy-layerwise-prefill📝 Commits (1)
91c9513fix(dsv4): lazily allocate layerwise prefill slots📊 Changes
5 files changed (+296 additions, -72 deletions)
View changed files
📝
python/sglang/srt/layers/moe/kt_ep_wrapper.py(+119 -12)📝
python/sglang/srt/layers/quantization/v4_marlin_moe.py(+31 -0)📝
python/sglang/srt/model_executor/memory_profiler.py(+12 -1)📝
python/sglang/srt/model_executor/model_runner.py(+7 -13)📝
test/unit/test_mxfp4_layerwise_prefill.py(+127 -46)📄 Description
Summary
Validation
python3 test/unit/test_mxfp4_layerwise_prefill.py(27 tests)KT_GPU_PREFILL_TOKEN_THRESHOLD=2048on qj5090 and sap4.Scope
This PR intentionally does not include the independent CPU-group barrier cleanup in #27.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.