Skip to content

Commit

Permalink
fix checkpoint forward kwargs
Browse files Browse the repository at this point in the history
  • Loading branch information
winglian committed Sep 26, 2023
1 parent 9dbdcec commit bb87204
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/axolotl/monkeypatch/llama_attn_hijack_flash.py
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,7 @@ def custom_forward(*inputs):
*inputs,
past_key_value, # pylint: disable=(cell-var-from-loop)
output_attentions,
attention_mask=attention_mask,
padding_mask=padding_mask,
)

return custom_forward
Expand Down

0 comments on commit bb87204

Please sign in to comment.