[tune]TrialRunner wait on global checkpoint syncdown (#8798)

This commit is contained in:
Anil Choudhary
2020-06-05 18:39:59 +01:00
committed by GitHub
parent 4155d5830f
commit 1dda659918
+1
View File
@@ -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 "