Skip to content

Commit

Permalink
[GptNeox] don't gather on pkv when using the trainer (#29892)
Browse files Browse the repository at this point in the history
don't gather on pkv when using the trainer
  • Loading branch information
ArthurZucker authored Mar 28, 2024
1 parent b256516 commit 543889f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/transformers/models/gpt_neox/configuration_gpt_neox.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ class GPTNeoXConfig(PretrainedConfig):
```"""

model_type = "gpt_neox"
keys_to_ignore_at_inference = ["past_key_values"]

def __init__(
self,
Expand Down

0 comments on commit 543889f

Please sign in to comment.