Update llama.py
This commit is contained in:
parent
f231c4f395
commit
abc47836dc
1 changed files with 2 additions and 2 deletions
|
|
@ -268,8 +268,8 @@ def LlamaAttention_fast_forward_inference(
|
|||
self.paged_attention_K[:,:,:kv_seq_len,:] = K1
|
||||
self.paged_attention_V[:,:,:kv_seq_len,:] = V1
|
||||
pass
|
||||
Kn = self.paged_attention_K[:,:,seq_len,:] = K1
|
||||
Vn = self.paged_attention_V[:,:,seq_len,:] = V1
|
||||
Kn = self.paged_attention_K[:,:,seq_len,:] = Kn
|
||||
Vn = self.paged_attention_V[:,:,seq_len,:] = Vn
|
||||
|
||||
# Grouped query attention
|
||||
if n_groups != 1:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue