Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into save_fp16_model-fal…
Browse files Browse the repository at this point in the history
…lback
  • Loading branch information
stas00 committed Dec 27, 2021
2 parents 74f53f0 + c113827 commit 2b19c5b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/transformers/trainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -2004,9 +2004,6 @@ def save_model(self, output_dir: Optional[str] = None):
)
self.deepspeed.save_checkpoint(output_dir)

# save a deepspeed checkpoint as well (this is very fast)
self.deepspeed.save_checkpoint(output_dir)

elif self.args.should_save:
self._save(output_dir)

Expand Down

0 comments on commit 2b19c5b

Please sign in to comment.