Repository navigation
R3 Support on PD Disaggregation (mini_lb) - #22916
Merged
yueming-yuan merged 2 commits intoApr 16, 2026
Merged
Conversation
zyzshishui
requested review from
ByronHsu,
CatherineSue,
ShangmingCai,
hnyls2002,
key4ng and
slin1237
as code owners
April 16, 2026 01:21
Contributor
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
ByronHsu
approved these changes
Apr 16, 2026
yueming-yuan
approved these changes
Apr 16, 2026
5 tasks done
yueming-yuan
pushed 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
…oject#22916) Rewired prefill routed-experts collection to the v0.5.15 batch_result_processor._maybe_collect_routed_experts API.
yueming-yuan
pushed 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
imvladikon
pushed a commit
to imvladikon/sglang
that referenced
this pull request
Aug 31, 2026
…oject#22916) (cherry picked from commit d669fb3)
Kh4L
pushed a commit
to Kh4L/sglang
that referenced
this pull request
Sep 8, 2026
…oject#22916) (cherry picked from commit d669fb3)
8 of 33 tasks
Zhichenzzz
pushed a commit
that referenced
this pull request
Sep 19, 2026
ziang-and
pushed a commit
to zianglih/sglang
that referenced
this pull request
Oct 2, 2026
This was referenced Oct 13, 2026
nv-hwoo
pushed a commit
to nv-hwoo/sglang
that referenced
this pull request
Oct 20, 2026
Rockdu
pushed a commit
that referenced
this pull request
Oct 30, 2026
Rockdu
pushed a commit
that referenced
this pull request
Oct 30, 2026
Rockdu
pushed a commit
that referenced
this pull request
Oct 31, 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.
Motivation
Support R3 in PD Disaggregation.
Note: only non-streaming
generateand/chat/completionsendpoints are supported.Gateway version: radixark/sgl-router-for-miles#4
Modifications
Add
maybe_collect_routed_expertson PD prefill sideAccuracy Tests
Launch commands
Deterministic flags shared by all services:
Non-PD baseline on GPUs
4,5:PYTHONPATH=/data/sglang/python CUDA_VISIBLE_DEVICES=4,5 python -m sglang.launch_server \ "${COMMON_FLAGS[@]}" \ --port 28380PD
prefill worker on GPUs
4,5:PYTHONPATH=/data/sglang/python CUDA_VISIBLE_DEVICES=4,5 python -m sglang.launch_server \ "${COMMON_FLAGS[@]}" \ --port 28180 \ --disaggregation-mode prefill \ --disaggregation-transfer-backend mooncake \ --disaggregation-bootstrap-port 28580 \ --disaggregation-ib-device mlx5_6,mlx5_7decode worker on GPUs
6,7:PYTHONPATH=/data/sglang/python CUDA_VISIBLE_DEVICES=6,7 python -m sglang.launch_server \ "${COMMON_FLAGS[@]}" \ --port 28280 \ --disaggregation-mode decode \ --disaggregation-transfer-backend mooncake \ --disaggregation-bootstrap-port 28580 \ --disaggregation-ib-device mlx5_8,mlx5_9Router with
mini_lb.py:Send Request
Generate:
Chat completions:
comparison script
Result
Speed Tests and Profiling
Checklist
Review and Merge Process
/tag-and-rerun-ci,/tag-run-ci-label,/rerun-failed-ci