Skip to content

Commit

Permalink
[Hardware][Gaudi]add get_name method for HPUAttentionBackend (vllm-pr…
Browse files Browse the repository at this point in the history
…oject#10667)

Signed-off-by: Kunshang Ji <[email protected]>
Signed-off-by: Andrew Feldman <[email protected]>
  • Loading branch information
jikunshang authored and afeldman-nm committed Dec 2, 2024
1 parent 429d17e commit 89c4f78
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 89c4f78

Please sign in to comment.