From c29f3290f7fff5eeda74bdcbf496b2fe5ba9fafa Mon Sep 17 00:00:00 2001 From: "rshaw@neuralmagic.com" Date: Fri, 3 Jan 2025 15:27:54 +0000 Subject: [PATCH] updated --- vllm/v1/engine/core_client.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/vllm/v1/engine/core_client.py b/vllm/v1/engine/core_client.py index f6b167b3e7592..e009f3448bf69 100644 --- a/vllm/v1/engine/core_client.py +++ b/vllm/v1/engine/core_client.py @@ -167,15 +167,14 @@ def __init__( "executor_class": executor_class, "log_stats": log_stats, }) - + def shutdown(self): """Clean up background resources.""" - - self._finalizer() - if hasattr(self, "proc_handle"): self.proc_handle.shutdown() + self._finalizer() + class SyncMPClient(MPClient): """Synchronous client for multi-proc EngineCore."""