mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2026-03-24 07:01:23 +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)
|
||||
|
||||
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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user