mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2026-05-14 20:29:10 +08:00
Properly check if all fused layers are in the list of targets (#12666)
Thanks @kylesayrs for catching this!
This commit is contained in:
parent
20579c0fae
commit
c5932e5dac
@ -236,7 +236,7 @@ def _match_fused_layer(layer_name: str,
|
|||||||
for type_suffix in possible_layer_types)
|
for type_suffix in possible_layer_types)
|
||||||
|
|
||||||
if is_same_parent and is_matching_type and all(
|
if is_same_parent and is_matching_type and all(
|
||||||
'.'.join([parent_path, type_suffix])
|
(f"{parent_path}.{type_suffix}" in target_layers)
|
||||||
for type_suffix in possible_layer_types):
|
for type_suffix in possible_layer_types):
|
||||||
return target
|
return target
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user