Skip to content

Commit

Permalink
bugfix (NVIDIA#10561)
Browse files Browse the repository at this point in the history
Signed-off-by: Maanu Grover <maanug@nvidia.com>
  • Loading branch information
maanug-nv authored Sep 23, 2024
1 parent 110db0c commit 9ed0d6c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nemo/lightning/pytorch/callbacks/model_checkpoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,8 @@ def on_train_start(self, trainer, pl_module):
if torch.distributed.is_initialized():
torch.distributed.barrier()

super().on_train_start(trainer, pl_module)

def nemo_topk_check_previous_run(self):
try:
self.best_k_models
Expand Down

0 comments on commit 9ed0d6c

Please sign in to comment.