Adapter 加载不会对意外的键进行警告,`strict=True` 将被默默忽略
作者: hivaze创建于 2026年9月23日更新于 2026年9月29日
peft 0.21.0 [keys under another module path] from_pretrained(strict=True): no error | returned: model only | warnings: ['Found missing adapter keys while loading the checkpoint'] | output == base model: True
内容来源: huggingface/peft