[Bugfix][MiniCPM-o] Stabilize code2wav CFM CUDA graph caching with reference audio normalization and mel-frame bucketing (#7416)
Signed-off-by: y_null <y_null@qq.com> Co-authored-by: amy-why-3459 <wuhaiyan17@huawei.com>
This commit is contained in:
1 parent
507cb1d834
commit
5f7f62e13c
13 files changed
+838
-25
No files matched your search
@@ -1328,7 +1328,11 @@ class TestDeployConfigLoading:
|
||||
stages = merge_pipeline_deploy(pipeline, deploy)
|
||||
|
||||
assert deploy.session_mode == "duplex"
|
||||
assert deploy.active_stream_window == max_sessions
|
||||
# ``0`` disables the limiter: the configured session/stage capacity is
|
||||
# what bounds the pipeline. Any positive window serializes concurrent
|
||||
# audio first-packet generation (measured: TTFP -23% at 0 vs 4 on
|
||||
# L20X, 128 requests / concurrency 8).
|
||||
assert deploy.active_stream_window == 0
|
||||
assert deploy.duplex_session.max_sessions == max_sessions
|
||||
assert [stage.session_mode for stage in stages] == ["duplex", "duplex", "duplex"]
|
||||
assert [stage.to_omegaconf().session_mode for stage in stages] == ["duplex", "duplex", "duplex"]
|
||||
|
||||
Reference in new issue
Block a user