[fix]deepgemm precompile when warmup (#15891)
This commit is contained in:
@@ -291,5 +291,6 @@ class _GroupedMaskedWarmupExecutor(_BaseWarmupExecutor):
|
|||||||
def deep_gemm_execution_hook(
|
def deep_gemm_execution_hook(
|
||||||
m: int, n: int, k: int, num_groups: int, kernel_type: DeepGemmKernelType
|
m: int, n: int, k: int, num_groups: int, kernel_type: DeepGemmKernelType
|
||||||
):
|
):
|
||||||
|
if m > 0:
|
||||||
_maybe_compile_deep_gemm_one_type_all(kernel_type, n, k, num_groups)
|
_maybe_compile_deep_gemm_one_type_all(kernel_type, n, k, num_groups)
|
||||||
yield
|
yield
|
||||||
|
|||||||
Reference in New Issue
Block a user