[tune] Allow nested values in trial runner (#5346)

This commit is contained in:
Richard Liaw
2019-08-06 14:36:17 -07:00
committed by GitHub
parent e8d9cfc1f1
commit 094ec7adbc
10 changed files with 163 additions and 106 deletions
+1 -1
View File
@@ -61,7 +61,7 @@ class RayTrialExecutor(TrialExecutor):
logger.info("Initializing Ray automatically."
"For cluster usage or custom Ray initialization, "
"call `ray.init(...)` before `tune.run`.")
ray.init()
ray.init(object_store_memory=int(1e8))
if ray.is_initialized():
self._update_avail_resources()