[Tune] Post-Experiment Tools (#4351)

This commit is contained in:
Adi Zimmerman
2019-05-04 02:51:26 -04:00
committed by Richard Liaw
parent 406c429384
commit 36b71d1446
11 changed files with 290 additions and 192 deletions
+2 -1
View File
@@ -97,7 +97,8 @@ class RayTrialExecutor(TrialExecutor):
# Set the working dir in the remote process, for user file writes
if not os.path.exists(remote_logdir):
os.makedirs(remote_logdir)
os.chdir(remote_logdir)
if not ray.worker._mode() == ray.worker.LOCAL_MODE:
os.chdir(remote_logdir)
return NoopLogger(config, remote_logdir)
# Logging for trials is handled centrally by TrialRunner, so