mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2026-01-09 05:58:42 +08:00
[Bugfix] update should_ignore_layer (#11354)
Signed-off-by: George Ohashi <george@neuralmagic.com>
This commit is contained in:
parent
dd2b5633dd
commit
51ff216d85
@ -30,7 +30,7 @@ def should_ignore_layer(layer_name: Optional[str],
|
||||
# in the safetensors checkpoint. So, we convert the name
|
||||
# from the fused version to unfused + check to make sure that
|
||||
# each shard of the fused layer has the same scheme.
|
||||
if proj_name in FUSED_LAYER_NAME_MAPPING:
|
||||
if proj_name in FUSED_LAYER_NAME_MAPPING and layer_name not in ignore:
|
||||
shard_proj_names = FUSED_LAYER_NAME_MAPPING[proj_name]
|
||||
|
||||
# Convert fused_name --> [shard_names]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user