Update gemma.py

This commit is contained in:
Daniel Han-Chen 2024-02-24 17:15:44 +11:00
commit 8cb12078f9

View file

@ -93,7 +93,7 @@ def GemmaDecoderLayer_fast_forward(
hidden_states = fast_rms_layernorm(self.input_layernorm, hidden_states)
hidden_states, self_attn_weights, present_key_value = self.self_attn(
hidden_states=hidden_states,
causal_mask=causal_mask,
# causal_mask=causal_mask,
attention_mask=attention_mask,
position_ids=position_ids,
past_key_value=past_key_value,