Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
change
sglang
Commits
76d17c7e
Unverified
Commit
76d17c7e
authored
Apr 23, 2025
by
lambert0312
Committed by
GitHub
Apr 22, 2025
Browse files
Fix shared experts fusion error without quantization (#5632)
parent
70d040f9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
python/sglang/srt/models/deepseek_v2.py
python/sglang/srt/models/deepseek_v2.py
+1
-1
No files found.
python/sglang/srt/models/deepseek_v2.py
View file @
76d17c7e
...
@@ -1604,7 +1604,7 @@ class DeepseekV2ForCausalLM(nn.Module):
...
@@ -1604,7 +1604,7 @@ class DeepseekV2ForCausalLM(nn.Module):
if
self
.
n_share_experts_fusion
>
0
:
if
self
.
n_share_experts_fusion
>
0
:
weights_list
=
list
(
weights
)
weights_list
=
list
(
weights
)
weights_dict
=
dict
(
weights_list
)
weights_dict
=
dict
(
weights_list
)
if
self
.
quant_config
.
get_name
()
==
"w8a8_int8"
:
if
self
.
quant_config
is
None
or
self
.
quant_config
.
get_name
()
==
"w8a8_int8"
:
suffix_list
=
[
suffix_list
=
[
"down_proj.weight"
,
"down_proj.weight"
,
"down_proj.weight_scale"
,
"down_proj.weight_scale"
,
...
...
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