[Misc] Add get_name to missing AttentionBackends (#32698)

Signed-off-by: NickLucche <nlucches@redhat.com>
This commit is contained in:
Nicolò Lucchesi
2026-01-23 11:35:44 +01:00
committed by GitHub
parent a8eb1182f1
commit 160c6fa387
6 changed files with 28 additions and 1 deletions

View File

@@ -22,6 +22,10 @@ from vllm.v1.kv_cache_interface import AttentionSpec, MambaSpec
class GDNAttentionBackend(AttentionBackend):
@staticmethod
def get_name() -> str:
return "GDN_ATTN"
@staticmethod
def get_builder_cls() -> type["GDNAttentionMetadataBuilder"]:
return GDNAttentionMetadataBuilder