mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2025-12-11 20:05:33 +08:00
[Kernel] mark TorchSDPABackend swap_blocks NotImplementedError (#19749)
This commit is contained in:
parent
79f2f1c2a1
commit
71baf85ae1
@ -65,7 +65,7 @@ class TorchSDPABackend(AttentionBackend):
|
|||||||
dst_kv_cache: torch.Tensor,
|
dst_kv_cache: torch.Tensor,
|
||||||
src_to_dst: torch.Tensor,
|
src_to_dst: torch.Tensor,
|
||||||
) -> None:
|
) -> None:
|
||||||
PagedAttention.swap_blocks(src_kv_cache, dst_kv_cache, src_to_dst)
|
raise NotImplementedError("Swap is not supported in TorchSDPABackend.")
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def copy_blocks(
|
def copy_blocks(
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user