[V1][Metrics] Hook up IterationStats for Prometheus metrics (#12478)

Signed-off-by: Mark McLoughlin <markmc@redhat.com>
This commit is contained in:
Mark McLoughlin
2025-01-28 16:38:38 +00:00
committed by GitHub
parent 925d2f1908
commit 3fd1fb63ef
3 changed files with 66 additions and 12 deletions

View File

@@ -305,7 +305,8 @@ class AsyncLLM(EngineClient):
return
for logger in self.stat_loggers:
logger.log(scheduler_stats=scheduler_stats)
logger.log(scheduler_stats=scheduler_stats,
iteration_stats=iteration_stats)
def encode(
self,