Skip to content

Commit 71baf85

Browse files
authored
[Kernel] mark TorchSDPABackend swap_blocks NotImplementedError (#19749)
1 parent 79f2f1c commit 71baf85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vllm/attention/backends/torch_sdpa.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def swap_blocks(
6565
dst_kv_cache: torch.Tensor,
6666
src_to_dst: torch.Tensor,
6767
) -> None:
68-
PagedAttention.swap_blocks(src_kv_cache, dst_kv_cache, src_to_dst)
68+
raise NotImplementedError("Swap is not supported in TorchSDPABackend.")
6969

7070
@staticmethod
7171
def copy_blocks(

0 commit comments

Comments
 (0)