[Frontend][Benchmark] Add duplex performance metrics for OmniInteract and Omni-DuplexEval benchmark (#7242)
This commit is contained in:
1 parent
27f0e8c1ea
commit
f062124ba4
21 files changed
+1484
-161
No files matched your search
@@ -6,6 +6,7 @@ from __future__ import annotations
|
||||
import asyncio
|
||||
import binascii
|
||||
import json
|
||||
import time
|
||||
import uuid
|
||||
from collections.abc import Callable
|
||||
from contextlib import suppress
|
||||
@@ -494,6 +495,7 @@ class DuplexSessionRunnerMixin:
|
||||
async def _run() -> bool:
|
||||
nonlocal runtime_closed
|
||||
try:
|
||||
session.mark_model_turn_request_started(append_turn_id, time.monotonic())
|
||||
append_ok, emitted_response = await self._append_runtime_input(
|
||||
session,
|
||||
payload,
|
||||
|
||||
Reference in new issue
Block a user