[V0 deprecation] Remove _VLLM_V1 suffixes from attention backend names (#25489)

Signed-off-by: Matthew Bonanni <mbonanni@redhat.com>
Signed-off-by: Matthew Bonanni <mbonanni001@gmail.com>
This commit is contained in:
Matthew Bonanni
2025-09-25 17:37:50 +00:00
committed by GitHub
parent 71b25b0d48
commit 3468f17ebe
42 changed files with 131 additions and 174 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ class TorchSDPABackend(AttentionBackend):
@staticmethod
def get_name() -> str:
return "TORCH_SDPA_VLLM_V1"
return "TORCH_SDPA"
@staticmethod
def get_impl_cls() -> type["TorchSDPABackendImpl"]:
+1 -1
View File
@@ -60,7 +60,7 @@ class FlashAttentionBackend(AttentionBackend):
@staticmethod
def get_name() -> str:
return "FLASH_ATTN_VLLM_V1"
return "FLASH_ATTN"
@staticmethod
def get_impl_cls() -> type["FlashAttentionImpl"]:
+1 -1
View File
@@ -167,7 +167,7 @@ class FlashInferBackend(AttentionBackend):
@staticmethod
def get_name() -> str:
return "FLASHINFER_VLLM_V1"
return "FLASHINFER"
@staticmethod
def get_impl_cls() -> type[FlashInferImpl]:
+1 -1
View File
@@ -270,7 +270,7 @@ class MLACommonBackend(AttentionBackend):
@staticmethod
def get_name() -> str:
return "TRITON_MLA_VLLM_V1"
return "TRITON_MLA"
@staticmethod
def get_metadata_cls() -> type["AttentionMetadata"]:
+1 -1
View File
@@ -27,7 +27,7 @@ class FlashMLABackend(MLACommonBackend):
@staticmethod
def get_name() -> str:
return "FLASHMLA_VLLM_V1"
return "FLASHMLA"
@staticmethod
def get_metadata_cls() -> type["FlashMLAMetadata"]:
@@ -33,7 +33,7 @@ class AiterMLABackend(MLACommonBackend):
@staticmethod
def get_name() -> str:
return "ROCM_AITER_MLA_VLLM_V1"
return "ROCM_AITER_MLA"
@staticmethod
def get_impl_cls() -> type["AiterMLAImpl"]:
+1 -1
View File
@@ -24,7 +24,7 @@ class TritonMLABackend(MLACommonBackend):
@staticmethod
def get_name() -> str:
return "TRITON_MLA_VLLM_V1"
return "TRITON_MLA"
@staticmethod
def get_impl_cls() -> type["TritonMLAImpl"]:
+1 -1
View File
@@ -86,7 +86,7 @@ class PallasAttentionBackend(AttentionBackend):
@staticmethod
def get_name() -> str:
return "PALLAS_VLLM_V1"
return "PALLAS"
@staticmethod
def get_impl_cls() -> type["PallasAttentionBackendImpl"]:
+1 -1
View File
@@ -340,7 +340,7 @@ class AiterFlashAttentionBackend(AttentionBackend):
@staticmethod
def get_name() -> str:
return "FLASH_ATTN_VLLM_V1"
return "FLASH_ATTN"
@staticmethod
def get_impl_cls() -> type["AiterFlashAttentionImpl"]:
+1 -1
View File
@@ -159,7 +159,7 @@ class RocmAttentionBackend(AttentionBackend):
@staticmethod
def get_name() -> str:
return "ROCM_ATTN_VLLM_V1"
return "ROCM_ATTN"
@staticmethod
def get_impl_cls() -> type["RocmAttentionImpl"]:
+1 -1
View File
@@ -52,7 +52,7 @@ class TreeAttentionBackend(AttentionBackend):
@staticmethod
def get_name() -> str:
return "TREE_ATTN_VLLM_V1"
return "TREE_ATTN"
@staticmethod
def get_impl_cls() -> type["TreeAttentionImpl"]:
+1 -1
View File
@@ -155,7 +155,7 @@ class TritonAttentionBackend(AttentionBackend):
@staticmethod
def get_name() -> str:
return "TRITON_ATTN_VLLM_V1"
return "TRITON_ATTN"
@staticmethod
def get_impl_cls() -> type["TritonAttentionImpl"]:
+1 -1
View File
@@ -90,7 +90,7 @@ class XFormersAttentionBackend(AttentionBackend):
@staticmethod
def get_name() -> str:
return "XFORMERS_VLLM_V1"
return "XFORMERS"
@staticmethod
def get_impl_cls() -> type["XFormersAttentionImpl"]: