Skip to content

Commit 39a2024

Browse files
bigPYJ1151Akshat-Tripathi
authored andcommitted
[Bugfix][V1][Minor] Fix shutting_down flag checking in V1 MultiprocExecutor (vllm-project#14053)
1 parent d92cda2 commit 39a2024

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vllm/v1/executor/multiproc_executor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ def _cleanup_sockets(self):
170170

171171
def shutdown(self):
172172
"""Properly shut down the executor and its workers"""
173-
if getattr(self, 'shutting_down', False):
173+
if not getattr(self, 'shutting_down', False):
174174
self.shutting_down = True
175175
for w in self.workers:
176176
w.worker_response_mq = None

0 commit comments

Comments
 (0)