Skip to content

Commit

Permalink
fix llama PA
Browse files Browse the repository at this point in the history
  • Loading branch information
flozi00 committed May 22, 2024
1 parent 6d41fbf commit a20bc03
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -331,13 +331,14 @@ def forward(
query,
kv_cache[0],
kv_cache[1],
self.num_key_value_heads,
self.kv_head_mapping,
self.softmax_scale,
block_tables,
input_lengths,
max_s,
)


return self.o_proj(attn_output.view(-1, self.num_heads * self.head_size), adapter_data)


Expand Down

0 comments on commit a20bc03

Please sign in to comment.