Update gemma.py
This commit is contained in:
parent
7be57334cb
commit
b482ce13e9
1 changed files with 1 additions and 1 deletions
|
|
@ -61,7 +61,7 @@ def GemmaAttention_fast_forward(
|
|||
hidden_states: torch.Tensor,
|
||||
attention_mask: Optional[torch.Tensor] = None,
|
||||
position_ids: Optional[torch.LongTensor] = None,
|
||||
past_key_value: Optional[Cache] = None,
|
||||
past_key_value = None, #Optional[Cache] = None,
|
||||
output_attentions: bool = False,
|
||||
use_cache: bool = False,
|
||||
cache_position: Optional[torch.LongTensor] = None,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue