[Kernel] Remove WAR for LL CuTeDSL BF16 GEMM (#60434)

Signed-off-by: jiahanc <173873397+jiahanc@users.noreply.github.com>
This commit is contained in:
Jiahan Chang (Cyrus)
2026-10-08 05:38:07 +00:00
committed by GitHub
parent 81198e97ba
commit 816173ca9d
5 changed files with 16 additions and 93 deletions
+1 -4
View File
@@ -128,16 +128,13 @@ def _can_use_flashinfer_cutedsl_bf16(
if (
k <= 0
or n <= 0
or x.numel() == 0
or weight.shape[1] != k
or k % 128 != 0
or x.data_ptr() % 32 != 0
or weight.data_ptr() % 32 != 0
):
return False
m = x.numel() // k
if not 1 <= m <= 32:
return False
return bias is None or (
bias.is_cuda
and bias.device == x.device