mirror of
https://github.com/vllm-project/vllm.git
synced 2026-08-22 13:40:15 +00:00
[ROCm][CI] Update Transformers AR+RMS fusion expectation (#50517)
Signed-off-by: Andreas Karatzas <[email protected]>
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user