[V1] Simplify Shutdown (#11659)
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user