From 8a7b3c299053efbca2669081ddf50a46b6a9d149 Mon Sep 17 00:00:00 2001 From: Brian Dellabetta Date: Tue, 28 Jul 2026 13:03:08 -0400 Subject: [PATCH] [compressed-tensors] update `find_matched_target` order to prioritize fused name matches over class match (#49483) Signed-off-by: Brian Dellabetta --- .../layers/quantization/compressed_tensors/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vllm/model_executor/layers/quantization/compressed_tensors/utils.py b/vllm/model_executor/layers/quantization/compressed_tensors/utils.py index afb899cd6d..872771af9a 100644 --- a/vllm/model_executor/layers/quantization/compressed_tensors/utils.py +++ b/vllm/model_executor/layers/quantization/compressed_tensors/utils.py @@ -145,8 +145,8 @@ def find_matched_target( matched_target = ( _find_first_match(layer_name, targets) - or _find_first_match(module.__class__.__name__, targets, True) or _match_fused_layer(layer_name, targets, fused_mapping) + or _find_first_match(module.__class__.__name__, targets, True) ) return matched_target