Skip to content

Commit

Permalink
Add shutdown_inc method to MultiprocessingHPUExecutor (#634)
Browse files Browse the repository at this point in the history
  • Loading branch information
nirda7 authored Dec 16, 2024
1 parent d2128b4 commit 11c07e3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions vllm/executor/multiproc_hpu_executor.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ def _check_executor_parameters(self):
f"please ensure that world_size ({world_size}) "
f"is less than than max local hpu count ({hpu_device_count})")

def shutdown_inc(self):
self._run_workers("shutdown_inc")

def __del__(self):
self.shutdown()

Expand Down

0 comments on commit 11c07e3

Please sign in to comment.