[compressed-tensors] update `find_matched_target` order to prioritize fused name matches over class match (#49483)
Signed-off-by: Brian Dellabetta <bdellabe@redhat.com>
Brian Dellabetta committed
Jul 28, 2026 at 13:03 UTC
8a7b3c299053efbca2669081ddf50a46b6a9d149
1 file changed
+1
-1
vllm/model_executor/layers/quantization/compressed_tensors/utils.py
+1
-1
@@ -145,8 +145,8 @@ def find_matched_target(
145
146
matched_target = (
147
_find_first_match(layer_name, targets)
148
- or _find_first_match(module.__class__.__name__, targets, True)
148
or _match_fused_layer(layer_name, targets, fused_mapping)
149
+ or _find_first_match(module.__class__.__name__, targets, True)
150
)
151
152
return matched_target