Skip to content

[sglang-miles] R3 (Rollout Routing Replay) DeepEP and MTP support - #18642

Merged
yueming-yuan merged 1 commit into
sgl-project:sglang-milesfrom
yueming-yuan:sglang-miles-r3
Feb 12, 2026
Merged

yueming-yuan merged 1 commit into
sgl-project:sglang-milesfrom
yueming-yuan:sglang-miles-r3

Conversation

@yueming-yuan

Copy link
Copy Markdown
Collaborator

Summary

  • Add DeepEP all_gather support for expert routing capture in routed_experts_capturer.py, enabling correct R3 routing data collection across TP ranks when using DeepEP expert parallelism
  • Skip routed_experts_capturer initialization for draft workers and fix cuda_graph_num_tokens calculation for speculative decoding in model_runner.py
  • Fix reqsrids bug in scheduler_output_processor_mixin.py to ensure streaming outputs are delivered to detokenizer

@gemini-code-assist

Copy link
Copy Markdown
Contributor

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

…ve decoding

- routed_experts_capturer: Add DeepEP all_gather support for expert routing
  capture across TP ranks, skip DP slicing when DeepEP handles gathering
- model_runner: Skip routed_experts_capturer init/sync for draft workers in
  speculative decoding, fix cuda_graph_num_tokens to account for
  num_tokens_per_bs in speculative decoding
- scheduler_output_processor_mixin: Fix detokenizer send condition to use
  rids instead of reqs to ensure streaming outputs are delivered

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@yueming-yuan
yueming-yuan merged commit 7f0ed70 into sgl-project:sglang-miles Feb 12, 2026
1 check passed
yueming-yuan added a commit that referenced this pull request Feb 13, 2026
…8642)

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
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
Arist12 pushed a commit to Arist12/sglang that referenced this pull request Aug 27, 2026
Kh4L pushed a commit to Kh4L/sglang that referenced this pull request Sep 8, 2026
Zhichenzzz pushed a commit that referenced this pull request Sep 19, 2026
…ort (#18642)

(cherry picked from commit f78421f)
(cherry picked from commit 72e9b93)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant