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
ac49dac0
Unverified
Commit
ac49dac0
authored
Jul 04, 2025
by
JieXin Liang
Committed by
GitHub
Jul 03, 2025
Browse files
[fix] fix dsv3_router_gemm filter (#7750)
parent
1e0e5497
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
python/sglang/srt/models/deepseek_v2.py
python/sglang/srt/models/deepseek_v2.py
+2
-1
No files found.
python/sglang/srt/models/deepseek_v2.py
View file @
ac49dac0
...
...
@@ -233,7 +233,8 @@ class MoEGate(nn.Module):
)
if
(
hidden_states
.
shape
[
0
]
<
4
_is_cuda
and
hidden_states
.
shape
[
0
]
<
4
and
hidden_states
.
shape
[
1
]
==
7168
and
self
.
weight
.
shape
[
0
]
==
256
and
_device_sm
>=
90
...
...
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