[V1] Simplify Shutdown (#11659)

This commit is contained in:
Robert Shaw
2025-01-03 12:25:38 -05:00
committed by GitHub
parent e1a5c2f0a1
commit 80c751e7f6
7 changed files with 40 additions and 58 deletions

View File

@@ -232,11 +232,6 @@ class LLM:
self.request_counter = Counter()
def __del__(self):
if hasattr(self, 'llm_engine') and self.llm_engine and hasattr(
self.llm_engine, "shutdown"):
self.llm_engine.shutdown()
@staticmethod
def get_engine_class() -> Type[LLMEngine]:
if envs.VLLM_USE_V1: