[Bugfix][LoRA] Reject PEFT adapter features vLLM does not implement (#60225)
Signed-off-by: suraj <surajsharan85@gmail.com> Co-authored-by: linitra24 <renshuang.zhou@daocloud.io>
This commit is contained in:
co-authored by
linitra24
parent
c17fadcfdc
commit
1ee69dde9c
@@ -106,6 +106,8 @@ def test_parse_fine_tuned_lora_name_invalid():
|
||||
fixture = {
|
||||
"base_model.weight",
|
||||
"base_model.model.weight",
|
||||
"base_model.model.model.layers.9.mlp.down_proj.lora_A.bias",
|
||||
"base_model.model.model.layers.9.mlp.down_proj.lora_B.bias",
|
||||
}
|
||||
for name in fixture:
|
||||
with pytest.raises(ValueError, match="unsupported LoRA weight"):
|
||||
|
||||
Reference in New Issue
Block a user