Update llama.py
This commit is contained in:
parent
2d4c40741b
commit
fa910abecf
1 changed files with 1 additions and 0 deletions
|
|
@ -1016,6 +1016,7 @@ def CausalLM_fast_forward(fast_forward_inference):
|
|||
logits_to_keep: Optional[int] = 0,
|
||||
*args, **kwargs,
|
||||
) -> Union[Tuple, CausalLMOutputWithPast]:
|
||||
print(past_key_values)
|
||||
if past_key_values is not None:
|
||||
outputs = fast_forward_inference(
|
||||
self,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue