Repository navigation
Conversation
kpham-sgl
requested review from
BBuf,
DarkSharpness,
FlamingoPg,
Fridge003,
HaiShaw,
HydraQYH,
Qiaolin-Yu,
Ying1123,
alphabetc1,
celve,
hanming-lu,
hebiao064,
hnyls2002,
huangtingwei9988,
hzh0425,
ispobock,
merrymercy,
xiezhq-hermann,
yizhang2077 and
yuan-luo
as code owners
October 21, 2026 16:40
kpham-sgl
force-pushed
the
dsv41-flashmla-v41-interleaved
branch
2 times, most recently
from
October 22, 2026 02:20
8b76c2b to
9002215
Compare
This was referenced Oct 22, 2026
kpham-sgl
force-pushed
the
dsv41-flashmla-v41-interleaved
branch
6 times, most recently
from
October 22, 2026 04:08
206ab41 to
6ae2775
Compare
kpham-sgl
force-pushed
the
dsv41-flashmla-v41-interleaved
branch
2 times, most recently
from
October 22, 2026 07:06
727fe5c to
2a87ae6
Compare
kpham-sgl
commented
Oct 22, 2026
| @@ -76,6 +76,7 @@ dependencies = [ | |||
| "setproctitle", | |||
| "sgl-deep-ep==0.1.2.post1", | |||
| "sgl-deep-gemm==0.2.3", | |||
| "sgl-flash-mla==1.0.0", | |||
Collaborator
Author
There was a problem hiding this comment.
Placeholder. 1.0.0 is the fork's flash_mla/VERSION, but the release workflow sets the published version from its dispatch input, and nothing is on PyPI yet. This pin must be set to whatever version the first sgl-flash-mla release gets before this PR can merge.
kpham-sgl
force-pushed
the
dsv41-flashmla-v41-interleaved
branch
from
October 22, 2026 07:32
2a87ae6 to
b5b386f
Compare
…kernels Co-Authored-By: Claude Fable 5.1 <[email protected]>
kpham-sgl
force-pushed
the
dsv41-flashmla-v41-interleaved
branch
from
October 22, 2026 07:32
b5b386f to
7d254ca
Compare
This was referenced Oct 22, 2026
1 task
Collaborator
Author
|
close in favor of #45893 |
Collaborator
Author
|
Superseded by #45893, which carries the serving side of this change on the sgl-flash-mla wheel. |
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.
Motivation
The latest FlashMLA DeepSeek-V4.1 kernels read a token-interleaved KV cache (each token's data followed by its scales). Serve with them.
The kernels come from the
sgl-flash-mlawheel built from sgl-project/FlashMLA'ssglbranch (release workflow: #45651); this PR addssgl-flash-mla==1.0.0to the dependencies and leaves sgl-kernel's FlashMLA untouched for every other path.Modifications
PagedKV::row, the Triton dequant, the request-window copy andkv_layout.pyaddress the new layout.flash_mla.fused_norm_rope_attn_rope_cast.decodeandflash_mla.flash_mla_with_kvcachefrom the wheel throughsglang.kernels.ops.attention.dsv4.flashmla_v41.;token-interleavedsuffix; HIP refuses the V4.1 layouts.test_flashmla_v41.py; mega-attention test uses the new op; V4.1 dequant tests enabled on SM100; c128 pool page expects 1056 B.🤖 Generated with Claude Code
CI States
Latest PR Test (Base): ❌ Run #39741200967
Latest PR Test (Extra): ❌ Run #39741200881
Latest PR Test (AMD ROCm 10): ❌ Run #39741201256