Update gemma.py
This commit is contained in:
parent
4c7d21e41b
commit
7e33aa2520
1 changed files with 1 additions and 1 deletions
|
|
@ -224,7 +224,7 @@ def GemmaModel_fast_forward(
|
|||
pass
|
||||
|
||||
# We already handle KV cache position_ids ourselves.
|
||||
if False:#(past_key_values_length != 0):
|
||||
if True:#(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