Unverified Commit fbbe1fba authored by Cody Yu's avatar Cody Yu Committed by GitHub
Browse files

[MISC] Logging the message about Ray teardown (#13502)


Signed-off-by: default avatarCody Yu <hao.yu.cody@gmail.com>
Co-authored-by: default avatarRui Qiao <161574667+ruisearch42@users.noreply.github.com>
parent 01c184b8
...@@ -101,6 +101,10 @@ class RayDistributedExecutor(DistributedExecutorBase): ...@@ -101,6 +101,10 @@ class RayDistributedExecutor(DistributedExecutorBase):
self.driver_worker.execute_method) self.driver_worker.execute_method)
def shutdown(self) -> None: def shutdown(self) -> None:
logger.info(
"Shutting down Ray distributed executor. If you see error log "
"from logging.cc regarding SIGTERM received, please ignore because "
"this is the expected termination process in Ray.")
if hasattr(self, "forward_dag") and self.forward_dag is not None: if hasattr(self, "forward_dag") and self.forward_dag is not None:
self.forward_dag.teardown() self.forward_dag.teardown()
import ray import ray
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment