[sglang-miles] PD disaggragation for RL - #18646
Merged
yueming-yuan merged 1 commit intoFeb 12, 2026
Merged
Conversation
- decode.py/prefill.py: Add release_memory_occupation() and resume_memory_occupation() to DecodePreallocQueue and PrefillBootstrapQueue for clearing queues and deregistering/ re-registering KV transfer buffers during weight updates - mooncake/conn.py: Add deregister_buffer_to_engine() to MooncakeKVManager as counterpart to register_buffer_to_engine() - schedule_batch.py: Allow all requests to be retracted in decode disaggregation mode (min_reqs=0) for prealloc prefill requests - scheduler_update_weights_mixin.py: Wire disaggregation queue release/resume into scheduler memory occupation lifecycle Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
yueming-yuan
requested review from
ByronHsu,
ShangmingCai,
Ying1123,
hnyls2002,
merrymercy and
xiezhq-hermann
as code owners
February 12, 2026 00:00
Contributor
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
yueming-yuan
added a commit
that referenced
this pull request
Feb 13, 2026
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
zianglih
pushed a commit
to zianglih/sglang
that referenced
this pull request
Feb 28, 2026
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
yueming-yuan
added a commit
that referenced
this pull request
Mar 5, 2026
yueming-yuan
added a commit
that referenced
this pull request
Mar 27, 2026
yueming-yuan
added a commit
that referenced
this pull request
Apr 6, 2026
yueming-yuan
added a commit
that referenced
this pull request
May 21, 2026
JessicaJiang-123
pushed a commit
to JessicaJiang-123/sglang
that referenced
this pull request
Jun 21, 2026
nanjiangwill
pushed a commit
to nanjiangwill/sglang
that referenced
this pull request
Jul 7, 2026
XinyuJiangCMU
pushed a commit
to XinyuJiangCMU/sglang
that referenced
this pull request
Jul 17, 2026
yueming-yuan
added a commit
that referenced
this pull request
Jul 25, 2026
yueming-yuan
added a commit
that referenced
this pull request
Jul 25, 2026
yueming-yuan
added a commit
that referenced
this pull request
Jul 25, 2026
yueming-yuan
added a commit
that referenced
this pull request
Jul 25, 2026
Arist12
pushed a commit
to Arist12/sglang
that referenced
this pull request
Aug 27, 2026
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
release_memory_occupation()/resume_memory_occupation()toDecodePreallocQueueandPrefillBootstrapQueuefor clearing queues and deregistering/re-registering KV transfer buffers during weight updatesderegister_buffer_to_engine()toMooncakeKVManageras counterpart to existingregister_buffer_to_engine()release_memory_occupation/resume_memory_occupationlifecycle