Repository navigation
[Perf] NIXL: prepared dlists for hybrid-model state transfer - #44740
Merged
ishandhanani merged 3 commits intoOct 18, 2026
Merged
Conversation
Collaborator
|
/rerun-group disaggregation |
Collaborator
|
/tag-and-rerun-ci |
Contributor
|
🚀 🚀 🚀 🚀 🚀 🚀 ⛔ |
4 tasks done
ShangmingCai
added a commit
to aurickq/sglang
that referenced
this pull request
Oct 20, 2026
NIXL registration: main (sgl-project#44740) uses frame 23 for packed_state_data_lens, so the aux item lens move to frame 24. Co-Authored-By: Claude Fable 5.1 <[email protected]>
7 of 8 tasks
Closed
4 of 5 tasks
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
Hybrid-model state (Mamba/GDN, SWA, DSA indexer, QSA, MiniMax, MXFP8 block scales) was
sent with a fresh
initialize_xferper request, rebuilding and re-validating everydescriptor. With
NIXL_UCX_SGL_ENABLE=1the data path is one SGL put per transfer, sothis host-side descriptor work is what remains on the transfer worker.
Modifications
covering all whole-slot state components; per request, one
make_prepped_xferwithint32 selectors instead of one
initialize_xferper component.size the destination dlist. An older decode without the frame stays on the generic path.
entries) stay generic per component. A stride mismatch is recorded at registration and
fails every transfer to that peer with the reason, instead of addressing the decode
with the prefill stride or killing the bootstrap thread.
{room}_state_{rank}notification sent after everyhandle of the chunk settles (NIXL UCX flushes the endpoint before DONE). This replaces
per-component attached notifs, which let decode treat the first component's arrival
as state complete.
Accuracy Tests
Not applicable: the same bytes move through prepared descriptors. Byte-for-byte
equivalence of the prepared and generic paths was checked with a memcpy fake agent
across Mamba, SWA on MHA, DSA with elided layers, QSA with layer ids, MLA peers with
mismatched TP, a decode with an extra DSA entry, and multi-component requests.
Speed Tests and Profiling
DSv4-Flash, GB200, ISL=1k, cost of state preparation:
Checklist
🤖 Generated with Claude Code
CI States
Latest PR Test (Base): ⏳ Run #39107243439
Latest PR Test (Extra): ❌ Run #39107243403
Latest PR Test (AMD ROCm 10): ⏳ Run #39107243431