Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 2 additions & 8 deletions vllm/compilation/passes/pass_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@
from .vllm_inductor_pass import VllmInductorPass, VllmPatternMatcherPass

if rocm_aiter_ops.is_enabled():
from .fusion.allreduce_rms_fusion import (
RocmAiterAllReduceFusionPass,
)
from .fusion.rocm_aiter_fusion import (
MLADualRMSNormFusionPass,
RocmAiterRMSNormQuantFusionPass,
Expand Down Expand Up @@ -142,11 +139,8 @@ def configure(self, config: VllmConfig) -> None:
if self.pass_config.fuse_gemm_comms:
self.passes += [AsyncTPPass(config)]

if self.pass_config.fuse_allreduce_rms:
if rocm_aiter_ops.is_enabled():
Copy link
Copy Markdown
Collaborator

@tjtanaa tjtanaa May 7, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jpvillam-amd @gshtras may I know what is the reason to disable all reduce fusion when we can control through python argument by setting --compilation_config.pass_config.fuse_allreduce_rms=false

Copy link
Copy Markdown
Collaborator

@tjtanaa tjtanaa May 7, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And it is preferred to not remove the path completely as it was working with older aiter version, and we should should disable else where and add a TODO to fix it.

self.passes += [RocmAiterAllReduceFusionPass(config)]
else:
self.passes += [AllReduceFusionPass(config)]
if self.pass_config.fuse_allreduce_rms and current_platform.is_cuda():
self.passes += [AllReduceFusionPass(config)]
Comment thread
jpvillam-amd marked this conversation as resolved.

if self.pass_config.fuse_minimax_qk_norm:
self.passes += [MiniMaxQKNormPass(config)]
Expand Down
Loading