Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
63dc3426
Unverified
Commit
63dc3426
authored
May 14, 2025
by
Jee Jee Li
Committed by
GitHub
May 14, 2025
Browse files
[Model] Add packed_modules_mapping for Qwen3-MOE (#18118)
Signed-off-by:
Jee Jee Li
<
pandaleefree@gmail.com
>
parent
8f5dc414
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
vllm/model_executor/models/qwen3_moe.py
vllm/model_executor/models/qwen3_moe.py
+11
-0
No files found.
vllm/model_executor/models/qwen3_moe.py
View file @
63dc3426
...
@@ -475,6 +475,17 @@ class Qwen3MoeModel(nn.Module):
...
@@ -475,6 +475,17 @@ class Qwen3MoeModel(nn.Module):
class
Qwen3MoeForCausalLM
(
nn
.
Module
,
SupportsPP
):
class
Qwen3MoeForCausalLM
(
nn
.
Module
,
SupportsPP
):
packed_modules_mapping
=
{
"qkv_proj"
:
[
"q_proj"
,
"k_proj"
,
"v_proj"
,
],
"gate_up_proj"
:
[
"gate_proj"
,
"up_proj"
,
],
}
fall_back_to_pt_during_load
=
False
fall_back_to_pt_during_load
=
False
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment