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
c04a8a82
"src/graph/vscode:/vscode.git/clone" did not exist on "cded5b80fe566c174fce1185b5456448d6f9c671"
Unverified
Commit
c04a8a82
authored
Jul 05, 2025
by
JieXin Liang
Committed by
GitHub
Jul 05, 2025
Browse files
[fix] fix misusing of is_cuda (#7790)
parent
6c903611
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 @
c04a8a82
...
...
@@ -913,7 +913,7 @@ class DeepseekV2AttentionMLA(nn.Module):
and
self
.
fused_qkv_a_proj_with_mqa
.
weight
.
dtype
==
torch
.
bfloat16
and
self
.
fused_qkv_a_proj_with_mqa
.
weight
.
shape
[
0
]
==
2112
and
self
.
fused_qkv_a_proj_with_mqa
.
weight
.
shape
[
1
]
==
7168
and
is_cuda
and
_
is_cuda
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