Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
5ee93a59
Unverified
Commit
5ee93a59
authored
Nov 05, 2025
by
Zhewen Li
Committed by
GitHub
Nov 05, 2025
Browse files
[CI/Build] Update checking logic in cutlass_group_gemm_supported (#27948)
Signed-off-by:
zhewenli
<
zhewenli@meta.com
>
parent
e1560178
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
vllm/_custom_ops.py
vllm/_custom_ops.py
+5
-1
No files found.
vllm/_custom_ops.py
View file @
5ee93a59
...
@@ -836,7 +836,11 @@ def cutlass_sparse_scaled_mm_supported(cuda_device_capability: int) -> bool:
...
@@ -836,7 +836,11 @@ def cutlass_sparse_scaled_mm_supported(cuda_device_capability: int) -> bool:
def
cutlass_group_gemm_supported
(
cuda_device_capability
:
int
)
->
bool
:
def
cutlass_group_gemm_supported
(
cuda_device_capability
:
int
)
->
bool
:
try
:
return
torch
.
ops
.
_C
.
cutlass_group_gemm_supported
(
cuda_device_capability
)
return
torch
.
ops
.
_C
.
cutlass_group_gemm_supported
(
cuda_device_capability
)
except
AttributeError
:
# Return False on non-CUDA platforms where it is not available
return
False
def
cutlass_sparse_compress
(
a
:
torch
.
Tensor
)
->
tuple
[
torch
.
Tensor
,
torch
.
Tensor
]:
def
cutlass_sparse_compress
(
a
:
torch
.
Tensor
)
->
tuple
[
torch
.
Tensor
,
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