Update llama.py
This commit is contained in:
parent
d87ef86991
commit
24c7a67556
1 changed files with 1 additions and 1 deletions
|
|
@ -180,7 +180,7 @@ def LlamaAttention_fast_forward_inference(
|
|||
A = fast_linear_forward(self.o_proj, A)
|
||||
A = A.reshape(1, 1, self.hidden_size)
|
||||
|
||||
return A, (Kn, Vn)
|
||||
return A, (Kn.unsqueeze(0), Vn.unsqueeze(0))
|
||||
pass
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue