[Kernel] mark TorchSDPABackend swap_blocks NotImplementedError (#19749)

This commit is contained in:
Ning Xie 2025-06-21 02:18:11 +08:00 committed by GitHub
parent 79f2f1c2a1
commit 71baf85ae1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -65,7 +65,7 @@ class TorchSDPABackend(AttentionBackend):
dst_kv_cache: torch.Tensor,
src_to_dst: torch.Tensor,
) -> None:
PagedAttention.swap_blocks(src_kv_cache, dst_kv_cache, src_to_dst)
raise NotImplementedError("Swap is not supported in TorchSDPABackend.")
@staticmethod
def copy_blocks(