[ROCm] Attention selector reordering (#36702)

Signed-off-by: Gregory Shtrasberg <Gregory.Shtrasberg@amd.com>
Signed-off-by: Micah Williamson <micah.williamson@amd.com>
Co-authored-by: Micah Williamson <micah.williamson@amd.com>
This commit is contained in:
Gregory Shtrasberg
2026-03-25 17:42:56 +08:00
committed by GitHub
co-authored by Micah Williamson
parent 09c3dc9186
commit 189ddefbfd
8 changed files with 29 additions and 56 deletions
+4 -1
View File
@@ -195,7 +195,10 @@ class RocmAttentionBackend(AttentionBackend):
@classmethod
def supports_sink(cls) -> bool:
return True
# ROCM custom attention kernel does not support sinks.
# Callink this backend with sinks will cause it to fall back to the Triton
# kernel, which is less efficient than the proper triton backends.
return False
forward_includes_kv_cache_update: bool = False