[Log] Wire stat loggers into AsyncOmniEngine to match AsyncLLM (#2551)
Signed-off-by: gcanlin <canlinguosdu@gmail.com>
This commit is contained in:
1 parent
73fb68ad28
commit
5d58abb11e
6 files changed
+144
-8
No files matched your search
@@ -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."""
|
||||
|
||||
Reference in new issue
Block a user