[Attention] Remove imports from vllm/attention/__init__.py (#29342)

Signed-off-by: Matthew Bonanni <mbonanni@redhat.com>
This commit is contained in:
Matthew Bonanni
2025-11-26 10:53:15 -07:00
committed by GitHub
parent c4c0354eec
commit 430dd4d9eb
96 changed files with 120 additions and 121 deletions
+1 -1
View File
@@ -178,7 +178,7 @@ class AttentionBackend(ABC):
By default, only supports decoder attention.
Backends should override this to support other attention types.
"""
from vllm.attention import AttentionType
from vllm.attention.backends.abstract import AttentionType
return attn_type == AttentionType.DECODER