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
195a09f5
"vscode:/vscode.git/clone" did not exist on "313bbea5886850acab286f45e9d9816cf0b0dca0"
Unverified
Commit
195a09f5
authored
Mar 30, 2025
by
Yineng Zhang
Committed by
GitHub
Mar 30, 2025
Browse files
fix bmm fp8 (#4926)
parent
9fccda31
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
sgl-kernel/csrc/torch_extension.cc
sgl-kernel/csrc/torch_extension.cc
+4
-1
No files found.
sgl-kernel/csrc/torch_extension.cc
View file @
195a09f5
...
@@ -82,7 +82,10 @@ TORCH_LIBRARY_EXPAND(sgl_kernel, m) {
...
@@ -82,7 +82,10 @@ TORCH_LIBRARY_EXPAND(sgl_kernel, m) {
/*
/*
* From FlashInfer
* From FlashInfer
*/
*/
m
.
def
(
"bmm_fp8"
,
bmm_fp8
);
m
.
def
(
"bmm_fp8(Tensor A, Tensor B, Tensor! D, Tensor A_scale, Tensor B_scale, Tensor workspace_buffer, int "
"cublas_handle, int cuda_stream) -> ()"
);
m
.
impl
(
"bmm_fp8"
,
torch
::
kCUDA
,
&
bmm_fp8
);
m
.
def
(
"min_p_sampling_from_probs"
,
min_p_sampling_from_probs
);
m
.
def
(
"min_p_sampling_from_probs"
,
min_p_sampling_from_probs
);
m
.
def
(
"top_k_renorm_probs"
,
top_k_renorm_probs
);
m
.
def
(
"top_k_renorm_probs"
,
top_k_renorm_probs
);
m
.
def
(
"top_p_renorm_probs"
,
top_p_renorm_probs
);
m
.
def
(
"top_p_renorm_probs"
,
top_p_renorm_probs
);
...
...
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