[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:
co-authored by
Micah Williamson
parent
09c3dc9186
commit
189ddefbfd
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user