[Bugfix] Fix Qwen2_5_VLForConditionalGeneration packed_modules_mapping (#12905)

This commit is contained in:
Jee Jee Li 2025-02-08 13:02:53 +08:00 committed by GitHub
parent 3243158336
commit 306923da82
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -760,9 +760,12 @@ class Qwen2_5_VLForConditionalGeneration(nn.Module, SupportsMultiModal,
"q_proj",
"k_proj",
"v_proj",
]
],
"gate_up_proj": [
"gate_proj",
"up_proj",
],
}
# LoRA specific attributes, TODO: double check
supported_lora_modules = [
"qkv_proj",