[Model][Frontend] MiniMax-H3: Parallelize MP4 response frame conversion (#6499)
Signed-off-by: MosCloud <bwzhang1991@163.com> Co-authored-by: Hongsheng Liu <liuhongsheng4@huawei.com>
This commit is contained in:
1 parent
0dc8f45906
commit
46cfa8435b
7 files changed
+294
-55
No files matched your search
@@ -615,6 +615,9 @@ async def omni_run_server_worker(listen_address, sock, args, client_config=None,
|
||||
await shutdown_task
|
||||
finally:
|
||||
state = getattr(app, "state", None)
|
||||
serving_video = getattr(state, "openai_serving_video", None) if state is not None else None
|
||||
if serving_video is not None:
|
||||
serving_video.shutdown()
|
||||
serving_speech = getattr(state, "openai_serving_speech", None) if state is not None else None
|
||||
if serving_speech is not None:
|
||||
serving_speech.shutdown()
|
||||
|
||||
Reference in new issue
Block a user