Repository navigation
[Feat] linker: Support Kimi-K3.1 DSA, MLA draft and DCP pools in the direct linker - #49355
Merged
kpham-sgl merged 8 commits intoNov 10, 2026
Merged
Conversation
alphabetc1
requested review from
Ying1123,
hanming-lu,
hnyls2002,
huangtingwei9988,
hzh0425,
ispobock,
merrymercy,
stmatengss,
xiezhq-hermann and
yizhang2077
as code owners
November 9, 2026 17:52
This was referenced Nov 9, 2026
kpham-sgl
approved these changes
Nov 9, 2026
Co-authored-by: Baizhou Zhang <[email protected]> Co-authored-by: Yuhao Yang <[email protected]> Co-authored-by: Khoa Pham <[email protected]>
Collaborator
|
Latest PR Test (Base): ✅ Run #42861260361 |
kpham-sgl
added a commit
that referenced
this pull request
Nov 11, 2026
5 tasks done
lihenga
pushed a commit
to lihenga/sglang-sugon
that referenced
this pull request
Nov 18, 2026
…direct linker (sgl-project#49355) Co-authored-by: Baizhou Zhang <[email protected]> Co-authored-by: Yuhao Yang <[email protected]> Co-authored-by: Khoa Pham <[email protected]> Co-authored-by: kpham-sgl <[email protected]> (cherry picked from commit 7dc1e38)
lihenga
pushed a commit
to lihenga/sglang-sugon
that referenced
this pull request
Dec 3, 2026
…direct linker (sgl-project#49355) Co-authored-by: Baizhou Zhang <[email protected]> Co-authored-by: Yuhao Yang <[email protected]> Co-authored-by: Khoa Pham <[email protected]> Co-authored-by: kpham-sgl <[email protected]> (cherry picked from commit 7dc1e38)
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.
Original authors: @Fridge003, @yhyang201, @kpham-sgl
Port of #48414
Kimi-K3.1 pairs DSA attention (MLA KV plus an indexer) with KDA linear attention. On
mainthe direct external linker's FULL + MAMBA pool group accepts only a plain MLA pool, rejects DCP and has no MLA draft sidecar, so--enable-unified-cache-external-linkerrefuses Kimi-K3.1. This PR ports the linker pool support from the Kimi-K3.1 Day-0 branch (#48414).DRAFTsidecar.Against the raw port: comments are shortened, and the draft is treated as DCP-sharded only when
--dcp-size > 1.Left for later ports: the per-request load timing log (the branch has no switch for it yet). The DFLASH draft KV ring and the
cutedsl_mladraft backend come with the DFlash drafter port (#49110); until then a Kimi-K3.1 DFLASH draft onmainruns on thetritondraft backend, with its KV in theDRAFTsidecar.Modifications
mem_cache/hybrid_cache/linker_pool_assembler.py: DSA indexer pool, MLA draft sidecar,tp_replicated/dcp_shardedpool flags, DCP index mapping.mem_cache/storage/mooncake_store/mooncake_direct_linker.py,mooncake_store.py: per-pool key suffixes and offload owners.Tests
test_linker_pool_assembler.py,test_mooncake_linker_tp_dedup.py.mainwith this PR, [Fix] linker: Offload Mamba branch checkpoints on stored nodes #49042 and [Fix] linker: Renew Mooncake read leases that lapse during a load #49043: Kimi-K3.1-Pro, B300 TP8, DFLASH (tritondraft backend), Mooncake over TCP.Touches the same spot of
mooncake_direct_linker.pyas #49043 (both add module-level definitions); whichever merges second needs a trivial rebase.CI States
Latest PR Test (Base): ⏳ Run #42918041414
Latest PR Test (Extra): ⏳ Run #42918041164
Latest PR Test (AMD ROCm 10): ⏳ Run #42918041121
Tip
Base CI only covers the core cases, and its workload may not exercise your change. Use
/rerun-testto run the tests your change touches, or copy this prompt for an agent:Co-authored-by: Baizhou Zhang [email protected]
Co-authored-by: Yuhao Yang [email protected]
Co-authored-by: Khoa Pham [email protected]