From 19995dd78efd62e27a300911277da36b60b92cee Mon Sep 17 00:00:00 2001 From: fzyzcjy <5236035+fzyzcjy@users.noreply.github.com> Date: Wed, 11 Jun 2025 03:27:57 +0800 Subject: [PATCH] Tiny fix cutlass_mla_get_workspace_size stub incorrect signature (#7057) --- sgl-kernel/csrc/attention/cutlass_mla_kernel.cu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sgl-kernel/csrc/attention/cutlass_mla_kernel.cu b/sgl-kernel/csrc/attention/cutlass_mla_kernel.cu index d72da50c5..55f604257 100644 --- a/sgl-kernel/csrc/attention/cutlass_mla_kernel.cu +++ b/sgl-kernel/csrc/attention/cutlass_mla_kernel.cu @@ -37,7 +37,7 @@ void cutlass_mla_decode( torch::Tensor const& workspace) { TORCH_CHECK(false, "CUDA version must be >= 12.4 for cutlass_mla_decode"); } -int64_t cutlass_mla_get_workspace_size(int64_t max_seq_len, int64_t num_batches, int64_t sm_count) { +int64_t cutlass_mla_get_workspace_size(int64_t max_seq_len, int64_t num_batches, int64_t sm_count, int64_t num_kv_splits) { TORCH_CHECK(false, "CUDA version must be >= 12.4 for cutlass_mla_get_workspace_size"); } #else