Qwen3next flashinfer allreduce auto enable#22664
Merged
Merged
Conversation
Contributor
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
|
To use Codex here, create an environment for this repo. |
Collaborator
Author
|
/tag-and-rerun-ci |
Collaborator
Author
|
/rerun-failed-ci |
Collaborator
|
/rerun-test test_qwen3_next_models.py test_qwen3_next_models_mtp.py |
Contributor
|
✅ |
ispobock
approved these changes
Apr 16, 2026
Collaborator
|
cc: @yizhang2077 |
yizhang2077
approved these changes
Apr 16, 2026
jmamou
pushed a commit
to jmamou/sglang
that referenced
this pull request
Apr 20, 2026
zhangying098
pushed a commit
to zhangying098/sglang
that referenced
this pull request
Apr 23, 2026
kyx1999
pushed a commit
to KMSorSMS/sglang
that referenced
this pull request
Apr 27, 2026
1 task
Jiminator
added a commit
to Jiminator/sglang
that referenced
this pull request
May 7, 2026
Bisects nightly-test-general-4-gpu-h100 :: TestFlashInferDeterministic.test_prefix_with_logprobs to commit c6a45fa / PR sgl-project#22664 'Qwen3next flashinfer allreduce auto enable'. Last pass: 9c47bba (2026-04-18). First fail: 2a327f0 (2026-04-19). Still failing on main as of 2026-05-07.
Jiminator
added a commit
to Jiminator/sglang
that referenced
this pull request
May 7, 2026
Run TestFlashInferDeterministic.test_prefix_with_logprobs at parent commit 4839cec: PASS (118.4s, '+++ identical across all batch sizes'). Run same test at c6a45fa (PR sgl-project#22664): FAIL (102.6s, 244 per-sample mismatches with the same -2.355271339416504 vs -2.3723394870758057 fingerprint seen in CI run 24971499389).
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.
Made with @codex
Summary
Enable FlashInfer allreduce fusion by default for
Qwen3NextForCausalLMon supported single-node SM90/SM100 TP runs.Why
Qwen/Qwen3-Coder-Nextwas running withenable_flashinfer_allreduce_fusion=falseon H100, and profiler traces showed prefill time dominated by unfused cross-device reduce kernels.Change
Qwen3NextForCausalLMto the existing FlashInfer allreduce auto-enable whitelistH100 Evidence
Model:
Qwen/Qwen3-Coder-NextCommand:
Server args:
enable_flashinfer_allreduce_fusion=falseenable_flashinfer_allreduce_fusion=trueBenchmark (
sglang.bench_serving,random 2048/256,128 prompts,max_concurrency=32):Full accuracy:
Profiler (
TP-0 EXTEND):cross_device_reduce_2stage 136.171 ms (21.89%)allreduce_fusion_kernel_oneshot_lamport 57.661 ms (10.41%)This change activates the fused allreduce path and removes the previous dominant unfused reduce hotspot.
Validation
sglang.profilerMMLUand fullGSM8Kserver evalModifications
Accuracy Tests
Speed Tests and Profiling
Checklist
Review and Merge Process
/tag-and-rerun-ci,/tag-run-ci-label,/rerun-failed-ci