diff --git a/vllm/v1/engine/async_llm.py b/vllm/v1/engine/async_llm.py index c012ef78412a2..235ac5f67f268 100644 --- a/vllm/v1/engine/async_llm.py +++ b/vllm/v1/engine/async_llm.py @@ -411,7 +411,7 @@ class AsyncLLM(EngineClient): # 4) Logging. # TODO(rob): make into a coroutine and launch it in # background thread once Prometheus overhead is non-trivial. - if stat_loggers is not None: + if stat_loggers: AsyncLLM._record_stats( stat_loggers, outputs.engine_index,