From c911120a6f499a50f46a484109bf9bb2971ead5f Mon Sep 17 00:00:00 2001 From: Andreas Karatzas Date: Fri, 31 Jul 2026 05:16:52 -0500 Subject: [PATCH] [ROCm][CI] Update Transformers AR+RMS fusion expectation (#50517) Signed-off-by: Andreas Karatzas --- tests/compile/fusions_e2e/test_tp2_ar_rms.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/compile/fusions_e2e/test_tp2_ar_rms.py b/tests/compile/fusions_e2e/test_tp2_ar_rms.py index a969e91daa..b6ad4e2e6e 100644 --- a/tests/compile/fusions_e2e/test_tp2_ar_rms.py +++ b/tests/compile/fusions_e2e/test_tp2_ar_rms.py @@ -219,9 +219,9 @@ def test_tp2_ar_rms_fusions( matches = matches_fn(n_layers) if model_impl == "transformers": - # TODO(BadrBasowid): Match the vLLM backend's fusion count once the - # separate residual add and RMSNorm operations are fused. - matches = matches._replace(aiter_ar_rms_fusion=1) + # Transformers add+RMSNorm canonicalization exposes every generic + # AR+RMS fusion site, including the final norm. + matches = matches._replace(aiter_ar_rms_fusion=matches.ar_rms_fusion) # Reduce size of model and skip weight loading time model_kwargs["hf_overrides"] = hf_overrides(n_layers)