[Bugfix] Fix qwen2_5_omni weight loading (#3598)
Signed-off-by: ksiyuan <ksiyuan@umich.edu>
This commit is contained in:
1 parent
083b5e363f
commit
7d9d8aee79
3 files changed
+59
-1
No files matched your search
@@ -81,7 +81,6 @@ class Qwen2_5OmniForConditionalGeneration(
|
||||
# Initialize thinker model (multimodal processing)
|
||||
self.thinker = init_vllm_registered_model(
|
||||
vllm_config=vllm_config,
|
||||
prefix=maybe_prefix(prefix, "thinker"),
|
||||
hf_config=thinker_config,
|
||||
# Use registry architecture key
|
||||
architectures=["Qwen2_5OmniThinkerModel"],
|
||||
|
||||
@@ -324,6 +324,16 @@ class Qwen2_5OmniThinkerForConditionalGeneration(
|
||||
"gate_proj",
|
||||
"up_proj",
|
||||
],
|
||||
"attn_qkv_proj": [
|
||||
"attn_q_proj",
|
||||
"attn_k_proj",
|
||||
"attn_v_proj",
|
||||
],
|
||||
"qkv": [
|
||||
"q",
|
||||
"k",
|
||||
"v",
|
||||
],
|
||||
}
|
||||
|
||||
@classmethod
|
||||
|
||||
Reference in new issue
Block a user