[Bugfix][Kernel] Give unique name to BlockSparseFlashAttention (#12040)

Signed-off-by: Chen Zhang <zhangch99@outlook.com>
This commit is contained in:
Chen Zhang
2025-01-14 15:45:05 +00:00
committed by GitHub
parent 2e0e017610
commit a2d2acb4c8
2 changed files with 2 additions and 2 deletions
+1 -2
View File
@@ -89,8 +89,7 @@ class BlocksparseFlashAttentionBackend(AttentionBackend):
@staticmethod
def get_name() -> str:
# For attention layer compatibility
return "FLASH_ATTN"
return "BLOCK_SPARSE_FLASH_ATTN"
@staticmethod
def get_impl_cls() -> Type["BlocksparseFlashAttentionImpl"]: