mirror of
https://github.com/wassname/ray.git
synced 2026-10-03 12:50:16 +08:00
[tune]TrialRunner wait on global checkpoint syncdown (#8798)
This commit is contained in:
1 parent
4155d5830f
commit
1dda659918
1 file changed
+1
@@ -225,6 +225,7 @@ class TrialRunner:
|
||||
# which may also contain trial checkpoints. We should selectively
|
||||
# sync the necessary files instead.
|
||||
self._syncer.sync_down_if_needed()
|
||||
self._syncer.wait()
|
||||
|
||||
if not self.checkpoint_exists(self._local_checkpoint_dir):
|
||||
raise ValueError("Called resume when no checkpoint exists "
|
||||
|
||||
Reference in new issue
Block a user