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
e41bf15c
Unverified
Commit
e41bf15c
authored
Jun 20, 2025
by
Xerxes
Committed by
GitHub
Jun 19, 2025
Browse files
[Chore]: qwen3-moe-type-hints-mistake (#19860)
Co-authored-by:
xinnan.hou
<
hxn02029096@alibaba-inc.com
>
parent
5aa4a015
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
vllm/model_executor/models/qwen3_moe.py
vllm/model_executor/models/qwen3_moe.py
+1
-1
No files found.
vllm/model_executor/models/qwen3_moe.py
View file @
e41bf15c
...
@@ -294,7 +294,7 @@ class Qwen3MoeDecoderLayer(nn.Module):
...
@@ -294,7 +294,7 @@ class Qwen3MoeDecoderLayer(nn.Module):
positions
:
torch
.
Tensor
,
positions
:
torch
.
Tensor
,
hidden_states
:
torch
.
Tensor
,
hidden_states
:
torch
.
Tensor
,
residual
:
Optional
[
torch
.
Tensor
],
residual
:
Optional
[
torch
.
Tensor
],
)
->
torch
.
Tensor
:
)
->
tuple
[
torch
.
Tensor
,
torch
.
Tensor
]
:
# Self Attention
# Self Attention
if
residual
is
None
:
if
residual
is
None
:
residual
=
hidden_states
residual
=
hidden_states
...
...
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