mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2025-12-17 06:15:01 +08:00
[BugFix] Avoid secondary missing MultiprocExecutor.workers error (#17811)
Signed-off-by: Nick Hill <nhill@redhat.com>
This commit is contained in:
parent
c20ef40fd0
commit
ed5272cf21
@ -258,9 +258,10 @@ class MultiprocExecutor(Executor):
|
||||
self.io_thread_pool.shutdown(wait=False, cancel_futures=True)
|
||||
self.io_thread_pool = None
|
||||
|
||||
for w in self.workers:
|
||||
w.worker_response_mq = None
|
||||
self._ensure_worker_termination([w.proc for w in self.workers])
|
||||
if workers := getattr(self, 'workers', None):
|
||||
for w in workers:
|
||||
w.worker_response_mq = None
|
||||
self._ensure_worker_termination([w.proc for w in workers])
|
||||
|
||||
self.rpc_broadcast_mq = None
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user