Skip to content

Commit

Permalink
Print newest_ckpt_path when resuming trial.
Browse files Browse the repository at this point in the history
Signed-off-by: sustr-equi <[email protected]>
  • Loading branch information
sustr-equi committed Jul 14, 2022
1 parent c168c09 commit 7db51e2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/ray/tune/execution/trial_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -671,6 +671,7 @@ def resume(self, run_errored_only=False):
f"experiment checkpoint data was found."
)

logger.info(f"Using following checkpoint to resume: {newest_ckpt_path}")
with open(newest_ckpt_path, "r") as f:
runner_state = json.load(f, cls=TuneFunctionDecoder)
self.checkpoint_file = newest_ckpt_path
Expand Down

0 comments on commit 7db51e2

Please sign in to comment.