From d39cf9380d73a52921fd974f1e39f0dd6091578f Mon Sep 17 00:00:00 2001 From: Robert Shaw Date: Sun, 20 Jul 2025 14:42:48 +0000 Subject: [PATCH] updated Signed-off-by: Robert Shaw --- vllm/v1/engine/async_llm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,