Skip to content

Commit

Permalink
Merge branch 'main' into add-lighteval-after-ckpt
Browse files Browse the repository at this point in the history
  • Loading branch information
eliebak authored Sep 3, 2024
2 parents 43728d5 + 4a2ddca commit b646980
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/nanotron/trainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -762,7 +762,6 @@ def _load_model_checkpoint(self, model: NanotronModel) -> NanotronModel:
)
reloaded_from_checkpoint=True
if not reloaded_from_checkpoint:
# TODO @eliebak add s3 support also here
log_rank("No checkpoint path provided.", logger=logger, level=logging.INFO, rank=0)
if isinstance(self.config.model.init_method, ExistingCheckpointInit):
# Initialize model from an pretrained model checkpoint (without optimizer, lr_scheduler...)
Expand Down

0 comments on commit b646980

Please sign in to comment.