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
96fcd3c2
Unverified
Commit
96fcd3c2
authored
Jan 08, 2026
by
BingjiaWang
Committed by
GitHub
Jan 08, 2026
Browse files
[Misc] Support qwen3-next lora (#31719)
parent
1f214290
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
vllm/model_executor/models/qwen3_next.py
vllm/model_executor/models/qwen3_next.py
+7
-1
No files found.
vllm/model_executor/models/qwen3_next.py
View file @
96fcd3c2
...
@@ -145,7 +145,13 @@ class Qwen3NextSparseMoeBlock(nn.Module):
...
@@ -145,7 +145,13 @@ class Qwen3NextSparseMoeBlock(nn.Module):
prefix
=
f
"
{
prefix
}
.gate"
,
prefix
=
f
"
{
prefix
}
.gate"
,
)
)
self
.
shared_expert_gate
=
torch
.
nn
.
Linear
(
config
.
hidden_size
,
1
,
bias
=
False
)
self
.
shared_expert_gate
=
ReplicatedLinear
(
config
.
hidden_size
,
1
,
bias
=
False
,
quant_config
=
None
,
prefix
=
f
"
{
prefix
}
.shared_expert_gate"
,
)
if
config
.
shared_expert_intermediate_size
>
0
:
if
config
.
shared_expert_intermediate_size
>
0
:
self
.
shared_expert
=
Qwen3NextMLP
(
self
.
shared_expert
=
Qwen3NextMLP
(
...
...
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