Skip to content

Commit

Permalink
Add valid_seq_lengths to fusedsdpa - port from 1.18.0 (#509)
Browse files Browse the repository at this point in the history
  • Loading branch information
iboiko-habana authored Nov 18, 2024
1 parent 96467d8 commit 0011e75
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vllm/attention/backends/hpu_attn.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,7 @@ def forward(
matmul_qk_op=self.matmul_qk,
softmax_op=self.softmax,
matmul_av_op=self.matmul_av,
valid_seq_lengths=attn_metadata.seq_lens_tensor,
)
else:
# TODO: enable FusedSDPA
Expand Down

0 comments on commit 0011e75

Please sign in to comment.