[Attention] Remove imports from vllm/attention/__init__.py (#29342)
Signed-off-by: Matthew Bonanni <mbonanni@redhat.com>
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user