Skip to content

Commit 6b4514b

Browse files
committed
Remove redundant destructor calls
1 parent c5fd50d commit 6b4514b

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

vllm/executor/habana_executor.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -195,9 +195,6 @@ def check_health(self) -> None:
195195
def shutdown(self) -> None:
196196
self.driver_worker.shutdown_inc()
197197

198-
def __del__(self):
199-
self.shutdown()
200-
201198

202199
class HabanaExecutorAsync(HabanaExecutor, ExecutorAsyncBase):
203200

vllm/worker/habana_worker.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -320,9 +320,6 @@ def list_prompt_adapters(self) -> Set[int]:
320320
def shutdown_inc(self):
321321
self.model_runner.shutdown_inc()
322322

323-
def __del__(self):
324-
self.shutdown_inc()
325-
326323
@property
327324
def max_model_len(self) -> int:
328325
return self.model_config.max_model_len

0 commit comments

Comments
 (0)