Skip to content

Commit

Permalink
fix hpu_attn get_name
Browse files Browse the repository at this point in the history
Signed-off-by: Kunshang Ji <[email protected]>
  • Loading branch information
jikunshang committed Nov 27, 2024
1 parent 9200e9a commit ab9658d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions vllm/attention/backends/hpu_attn.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@

class HPUAttentionBackend(AttentionBackend):

@staticmethod
def get_name() -> str:
return "HPU_ATTN"

@staticmethod
def get_impl_cls() -> Type["HPUAttentionImpl"]:
return HPUAttentionImpl
Expand Down

0 comments on commit ab9658d

Please sign in to comment.