[compressed-tensors] update find_matched_target order to prioritize fused name matches over class match (#49483)
Signed-off-by: Brian Dellabetta <bdellabe@redhat.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user