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
76f44c2a
Unverified
Commit
76f44c2a
authored
Apr 10, 2025
by
Richard Zou
Committed by
GitHub
Apr 10, 2025
Browse files
Fix deepseek-v3 with torch.compile in PyTorch 2.6. (#5213)
parent
1078396f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
sgl-kernel/csrc/common_extension.cc
sgl-kernel/csrc/common_extension.cc
+2
-1
No files found.
sgl-kernel/csrc/common_extension.cc
View file @
76f44c2a
...
...
@@ -177,7 +177,8 @@ TORCH_LIBRARY_FRAGMENT(sgl_kernel, m) {
*/
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) -> ()"
);
"cublas_handle, int cuda_stream) -> ()"
,
{
at
::
Tag
::
needs_fixed_stride_order
});
m
.
impl
(
"bmm_fp8"
,
torch
::
kCUDA
,
&
bmm_fp8
);
m
.
def
(
...
...
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