mirror of
https://github.com/wassname/ray.git
synced 2026-07-01 10:01:50 +08:00
[tune]TrialRunner wait on global checkpoint syncdown (#8798)
This commit is contained in:
@@ -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