[Attention][Cleanup] Remove tree attention (#42121)

Signed-off-by: Lucas Wilkinson <lwilkins@redhat.com>
This commit is contained in:
Lucas Wilkinson
2026-05-08 18:36:19 -07:00
committed by GitHub
parent be0dcc29dc
commit b1728c1e66
11 changed files with 6 additions and 1399 deletions
+1 -1
View File
@@ -1865,7 +1865,7 @@ def has_module_attribute(module_name, attribute_name):
def get_attn_backend_list_based_on_platform() -> list[str]:
if current_platform.is_cuda():
return ["FLASH_ATTN", "TRITON_ATTN", "TREE_ATTN"]
return ["FLASH_ATTN", "TRITON_ATTN"]
elif current_platform.is_rocm():
attn_backend_list = ["TRITON_ATTN"]
try: