Skip to content

Commit ad59364

Browse files
LucasLLCfacebook-github-bot
authored andcommitted
fix jk knobs on the load path (#822)
Summary: Pull Request resolved: #822 Fix JK knobs on the load path Reviewed By: JKSenthil Differential Revision: D57006378 fbshipit-source-id: 4834491343ba5d5743da9dacbf83c9fada88c6c1
1 parent d6a7305 commit ad59364

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

torchtnt/framework/callbacks/base_checkpointer.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -356,6 +356,9 @@ def restore_from_latest(
356356
dirpath, metadata_fname=cls.metadata_fname, process_group=process_group
357357
)
358358
if path is None:
359+
logger.info(
360+
f"Attempted to restore from the following path but no checkpoint was found: {dirpath=}, {cls.metadata_fname}"
361+
)
359362
return False
360363
logger.info(f"Restoring from path: {path}")
361364
cls.restore(

0 commit comments

Comments
 (0)