Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
71baf85a
Unverified
Commit
71baf85a
authored
Jun 21, 2025
by
Ning Xie
Committed by
GitHub
Jun 20, 2025
Browse files
[Kernel] mark TorchSDPABackend swap_blocks NotImplementedError (#19749)
parent
79f2f1c2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
vllm/attention/backends/torch_sdpa.py
vllm/attention/backends/torch_sdpa.py
+1
-1
No files found.
vllm/attention/backends/torch_sdpa.py
View file @
71baf85a
...
...
@@ -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
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment