Update llama.py
This commit is contained in:
parent
00242d5f89
commit
201d90c3ba
1 changed files with 1 additions and 1 deletions
|
|
@ -471,7 +471,7 @@ def LlamaModel_fast_forward(
|
|||
pass
|
||||
|
||||
# We already handle KV cache position_ids ourselves.
|
||||
if False:#(past_key_values_length != 0):
|
||||
if (past_key_values_length != 0):
|
||||
position_ids = torch.arange(
|
||||
past_key_values_length, seq_length + past_key_values_length,
|
||||
dtype = torch.int32,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue