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
35b65cf0
"docs/source/en/using-diffusers/cogvideox.md" did not exist on "3e9a28a8a19686b7b66701f7b93d3358d682a5ae"
Unverified
Commit
35b65cf0
authored
Jun 06, 2025
by
fzyzcjy
Committed by
GitHub
Jun 05, 2025
Browse files
Use deepgemm instead of triton for fused_qkv_a_proj_with_mqa (#6890)
parent
dd1012fc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
python/sglang/srt/layers/quantization/fp8_utils.py
python/sglang/srt/layers/quantization/fp8_utils.py
+2
-2
No files found.
python/sglang/srt/layers/quantization/fp8_utils.py
View file @
35b65cf0
...
@@ -227,8 +227,8 @@ def deepgemm_w8a8_block_fp8_linear_with_fallback(
...
@@ -227,8 +227,8 @@ def deepgemm_w8a8_block_fp8_linear_with_fallback(
output_dtype
=
input
.
dtype
output_dtype
=
input
.
dtype
dtype_supported
=
output_dtype
==
torch
.
bfloat16
dtype_supported
=
output_dtype
==
torch
.
bfloat16
# TODO:
add more robust shape check here
# TODO:
https://github.com/sgl-project/sglang/pull/6890#issuecomment-2943395737
shape_supported
=
weight
.
shape
[
0
]
%
128
==
0
and
weight
.
shape
[
1
]
%
128
==
0
shape_supported
=
weight
.
shape
[
0
]
%
64
==
0
and
weight
.
shape
[
1
]
%
128
==
0
if
not
(
shape_supported
and
dtype_supported
):
if
not
(
shape_supported
and
dtype_supported
):
# fall back to triton
# fall back to triton
...
...
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