Skip to content

Commit

Permalink
Add logic to handle saving the last checkpoint regardless of val chec…
Browse files Browse the repository at this point in the history
…k interval (NVIDIA#4905)

Signed-off-by: SeanNaren <snarenthiran@nvidia.com>

Signed-off-by: SeanNaren <snarenthiran@nvidia.com>
Signed-off-by: Matvei Novikov <mattyson.so@gmail.com>
  • Loading branch information
SeanNaren authored and jubick1337 committed Oct 3, 2022
1 parent 4fc4d38 commit e317d9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/core/test_exp_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -571,4 +571,4 @@ class CustomLoop(TrainingEpochLoop):
loop.trainer = trainer
trainer.fit_loop.epoch_loop = loop
with pytest.warns(UserWarning, match="Detected custom epoch loop"):
exp_manager(trainer, {"explicit_log_dir": str(tmp_path)})
exp_manager(trainer, {"explicit_log_dir": str(tmp_path)})

0 comments on commit e317d9a

Please sign in to comment.