From fbbe1fbac669a17f81c74c696f11a51167ed6a3c Mon Sep 17 00:00:00 2001 From: Cody Yu Date: Wed, 19 Feb 2025 09:40:50 -0800 Subject: [PATCH] [MISC] Logging the message about Ray teardown (#13502) Signed-off-by: Cody Yu Co-authored-by: Rui Qiao <161574667+ruisearch42@users.noreply.github.com> --- vllm/executor/ray_distributed_executor.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/vllm/executor/ray_distributed_executor.py b/vllm/executor/ray_distributed_executor.py index 6a25a4d50fb98..79ca45d55d96e 100644 --- a/vllm/executor/ray_distributed_executor.py +++ b/vllm/executor/ray_distributed_executor.py @@ -101,6 +101,10 @@ class RayDistributedExecutor(DistributedExecutorBase): self.driver_worker.execute_method) 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: self.forward_dag.teardown() import ray