Skip to content

Fusion allreduce old add rmsnorm - #3144

Merged
yixionghuo merged 1 commit into
ROCm:Qwen3.5_devfrom
IzacharyI:fusion_allreduce_old_add_rmsnorm
May 14, 2026
Merged

yixionghuo merged 1 commit into
ROCm:Qwen3.5_devfrom
IzacharyI:fusion_allreduce_old_add_rmsnorm

Conversation

@IzacharyI

@IzacharyI IzacharyI commented May 12, 2026 •

Copy link
Copy Markdown
Contributor

Motivation

This PR tightens control over two HIP-specific paths that were introduced on the Qwen3.5 branch.
The fused allreduce + next-layer residual add + RMSNorm path should not run on new CA. When SGLANG_USE_AITER_NEW_CA=true, the server should use the normal new-CA allreduce path instead of any fused path. #266
corresponding pr zejunchen-zejun/sglang#277

Modifications

  • Add explicit control for the fused allreduce + residual add + RMSNorm path.
    • With AITER legacy CA (SGLANG_USE_AITER_NEW_CA=0), the fusion is enabled by default and runs decode-only by default.
    • Set SGLANG_DISABLE_AITER_FUSED_AR_RMSNORM=1 to disable it.

Accuracy Tests

397B PTPC stress testing:
image
397B PTPC TP8 acc:
image
image
27B PTPC TP2 acc:
image
image
27B PTPC TP1 acc:
image
image

Benchmarking and Profiling

The observed TPOT trend was approximately:

  • base: ~9.83 ms
  • with fused allreduce path: ~9.61 ms

Checklist

Review Process

  1. Ping Merge Oncalls to start the PR flow. See the PR Merge Process.
  2. Get approvals from CODEOWNERS and other reviewers.
  3. Trigger CI tests with comments or contact authorized users to do so.
    • /tag-run-ci-label, /rerun-failed-ci, /tag-and-rerun-ci
  4. After green CI and required approvals, ask Merge Oncalls to merge.

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.

2 participants