mirror of
https://github.com/wassname/ray.git
synced 2026-07-19 11:27:32 +08:00
[tune] Fixup exception messages (#5238)
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user