[tune] Fixup exception messages (#5238)

This commit is contained in:
Richard Liaw
2019-07-20 22:36:27 -07:00
committed by GitHub
parent d58b986858
commit b0c0de49a2
5 changed files with 18 additions and 9 deletions
+2 -5
View File
@@ -180,11 +180,8 @@ class RayTrialExecutor(TrialExecutor):
logger.debug("Reusing actor for {}".format(trial.runner))
self._cached_actor = trial.runner
else:
logger.info(
"Destroying actor for trial {}. If your trainable is "
"slow to initialize, consider setting "
"reuse_actors=True to reduce actor creation "
"overheads.".format(trial))
logger.debug(
"Destroying actor for trial {}.".format(trial))
trial.runner.stop.remote()
trial.runner.__ray_terminate__.remote()
except Exception: