mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2026-06-04 09:15:42 +08:00
[MISC] Logging the message about Ray teardown (#13502)
Signed-off-by: Cody Yu <hao.yu.cody@gmail.com> Co-authored-by: Rui Qiao <161574667+ruisearch42@users.noreply.github.com>
This commit is contained in:
parent
01c184b8f3
commit
fbbe1fbac6
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user