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
a27825ae
"docs/vscode:/vscode.git/clone" did not exist on "8e9ff15faff8acf6bf5c13e19a7e2790e61af470"
Unverified
Commit
a27825ae
authored
Oct 19, 2025
by
fzyzcjy
Committed by
GitHub
Oct 19, 2025
Browse files
Support not officially supported high sgl-kernel version with low srt version (#11786)
parent
ce399e15
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
sgl-kernel/python/sgl_kernel/__init__.py
sgl-kernel/python/sgl_kernel/__init__.py
+2
-0
sgl-kernel/python/sgl_kernel/gemm.py
sgl-kernel/python/sgl_kernel/gemm.py
+5
-0
No files found.
sgl-kernel/python/sgl_kernel/__init__.py
View file @
a27825ae
...
@@ -265,6 +265,8 @@ from sgl_kernel.gemm import (
...
@@ -265,6 +265,8 @@ from sgl_kernel.gemm import (
scaled_fp4_quant
,
scaled_fp4_quant
,
sgl_per_tensor_quant_fp8
,
sgl_per_tensor_quant_fp8
,
sgl_per_token_group_quant_8bit
,
sgl_per_token_group_quant_8bit
,
sgl_per_token_group_quant_fp8
,
sgl_per_token_group_quant_int8
,
sgl_per_token_quant_fp8
,
sgl_per_token_quant_fp8
,
shuffle_rows
,
shuffle_rows
,
silu_and_mul_scaled_fp4_grouped_quant
,
silu_and_mul_scaled_fp4_grouped_quant
,
...
...
sgl-kernel/python/sgl_kernel/gemm.py
View file @
a27825ae
...
@@ -137,6 +137,11 @@ def sgl_per_token_group_quant_8bit(
...
@@ -137,6 +137,11 @@ def sgl_per_token_group_quant_8bit(
)
)
# For legacy usage
sgl_per_token_group_quant_fp8
=
sgl_per_token_group_quant_8bit
sgl_per_token_group_quant_int8
=
sgl_per_token_group_quant_8bit
def
sgl_per_tensor_quant_fp8
(
def
sgl_per_tensor_quant_fp8
(
input
:
torch
.
Tensor
,
input
:
torch
.
Tensor
,
output_q
:
torch
.
Tensor
,
output_q
:
torch
.
Tensor
,
...
...
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