mirror of
https://github.com/wassname/ray.git
synced 2026-08-16 11:27:09 +08:00
[Tune] Post-Experiment Tools (#4351)
This commit is contained in:
committed by
Richard Liaw
parent
406c429384
commit
36b71d1446
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user