Repository navigation
fix(dflash): account for DCP in draft KV pool sizing - #33912
Merged
kpham-sgl merged 1 commit intoAug 11, 2026
Merged
Conversation
milesial
marked this pull request as ready for review
August 7, 2026 00:19
milesial
requested review from
Fridge003,
Qiaolin-Yu,
Ying1123,
hnyls2002,
ispobock and
merrymercy
as code owners
August 7, 2026 00:19
milesial
force-pushed
the
agent/fix-dspark-draft-kv-accounting-v2
branch
from
August 7, 2026 00:22
2e8a754 to
d4d4461
Compare
Collaborator
|
/tag-and-run-ci |
Collaborator
|
@milesial could you fix the conflicts? thanks! |
Signed-off-by: Alexandre Milesi <[email protected]>
milesial
force-pushed
the
agent/fix-dspark-draft-kv-accounting-v2
branch
from
August 10, 2026 15:42
d4d4461 to
5cc1ed9
Compare
Contributor
Author
|
Rebased. #34234 landed in-between which fixed the same issue but forgot about DCP handling |
kpham-sgl
approved these changes
Aug 10, 2026
kpham-sgl
left a comment
Collaborator
There was a problem hiding this comment.
Good catch, thank you!
Collaborator
|
/rerun-test test/registered/dcp/test_kimi_linear_dcp_dspark4.py |
Contributor
|
Results for 🚀 |
vstone-w
pushed a commit
to ClownBin/sglang
that referenced
this pull request
Aug 12, 2026
Signed-off-by: Alexandre Milesi <[email protected]>
saturn-acc
pushed a commit
to saturn-acc/sglang
that referenced
this pull request
Aug 16, 2026
Signed-off-by: Alexandre Milesi <[email protected]>
4 of 5 tasks
Atituiset
pushed a commit
to Atituiset/sglang
that referenced
this pull request
Sep 10, 2026
Signed-off-by: Alexandre Milesi <[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.
Summary
Motivation
DFLASH-family draft pools span the allocator's widened virtual location space under DCP, so each target-pool token requires
dcp_sizedraft-pool rows. The layer-count fallback already applies that factor, but the exact geometry/dtype path added by #34234 bypasses the fallback and previously added only one draft row's cost.This keeps the exact and fallback paths consistent without duplicating the geometry or dtype resolution now present on
main.CI States
Latest PR Test (Base): ❌ Run #31405218997
Latest PR Test (Extra): ❌ Run #31405213096