[minor] log info instead of error upon ray.init rerun (#12025)

This commit is contained in:
Richard Liaw
2020-11-17 12:59:24 -08:00
committed by GitHub
parent 7f050c706b
commit ca44222e03
+2 -2
View File
@@ -679,8 +679,8 @@ def init(
if global_worker.connected:
if ignore_reinit_error:
logger.error("Calling ray.init() again after it has already been "
"called.")
logger.info(
"Calling ray.init() again after it has already been called.")
return
else:
raise RuntimeError("Maybe you called ray.init twice by accident? "