Skip to content

feat: fuse post-attention all-reduce and RMSNorm - #1405

Open
sufubao wants to merge 1 commit into
ModelTC:mainfrom
sufubao:fused-allreduce-rmsnorm
Open

feat: fuse post-attention all-reduce and RMSNorm#1405
sufubao wants to merge 1 commit into
ModelTC:mainfrom
sufubao:fused-allreduce-rmsnorm

Conversation

@sufubao

@sufubao sufubao commented Jul 27, 2026

Copy link
Copy Markdown
Collaborator

融合 post-attention 的 all-reduce、residual add 和 ffn RMSNorm,使用 FlashInfer kARResidualRMSNorm;不满足 fast path 条件时沿用原有实现。

新增 --disable_fused_allreduce_norm 便于 A/B。

验证:H200、Qwen3.5-27B、TP=4、FA3、512 input / 256 output。流式输出吞吐从 135.28 提升到 137.62 tok/s(并发 1,+1.7%),从 770.10 提升到 807.04 tok/s(并发 8,+4.8%)。

@gemini-code-assist

Copy link
Copy Markdown
Contributor

Caution

The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased.

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