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
fdeb3dac
Unverified
Commit
fdeb3dac
authored
Aug 26, 2025
by
Jee Jee Li
Committed by
GitHub
Aug 26, 2025
Browse files
[Model] fix DeepSeek e_score_correction_bias dtype to fp32 (#23640)
Signed-off-by:
Jee Jee Li
<
pandaleefree@gmail.com
>
parent
d52358c1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
vllm/model_executor/models/deepseek_v2.py
vllm/model_executor/models/deepseek_v2.py
+1
-1
No files found.
vllm/model_executor/models/deepseek_v2.py
View file @
fdeb3dac
...
...
@@ -126,7 +126,7 @@ class DeepseekV2MoE(nn.Module):
prefix
=
f
"
{
prefix
}
.gate"
)
if
config
.
topk_method
==
"noaux_tc"
:
self
.
gate
.
e_score_correction_bias
=
nn
.
Parameter
(
torch
.
empty
(
config
.
n_routed_experts
))
torch
.
empty
(
config
.
n_routed_experts
,
dtype
=
torch
.
float32
))
else
:
self
.
gate
.
e_score_correction_bias
=
None
...
...
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