[Log] Wire stat loggers into AsyncOmniEngine to match AsyncLLM (#2551)

Signed-off-by: gcanlin <canlinguosdu@gmail.com>
This commit is contained in:
Canlin Guo authored and GitHub committed 2026-04-12 19:54:23 +08:00
1 parent 73fb68ad28
commit 5d58abb11e
6 files changed
+144 -8

No files matched your search

+2 -5
View File
@@ -743,11 +743,8 @@ class AsyncOmni(EngineClient, OmniBase):
return False
async def do_log_stats(self) -> None:
"""Log statistics.
TODO: Forward to Orchestrator process via message.
"""
pass
"""Log statistics via the engine, mirroring vLLM ``AsyncLLM``."""
await self.engine.do_log_stats()
async def get_supported_tasks(self) -> tuple[SupportedTask, ...]:
"""Return the task set exposed by the orchestrator-backed engine."""