Update llama.py
This commit is contained in:
parent
cc69d74d94
commit
5684cbe502
1 changed files with 1 additions and 0 deletions
|
|
@ -384,6 +384,7 @@ def LlamaAttention_fast_forward(
|
|||
else:
|
||||
cos, sin = rotary_emb(V, seq_len=kv_seq_len)
|
||||
|
||||
print(387, Q.dtype, K.dtype, position_ids)
|
||||
Q, K = (
|
||||
fast_rope_embedding(Q, K, cos, sin)
|
||||
if position_ids is None
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue