Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2c157fb670 |
No files matched your search
@@ -1854,6 +1854,18 @@ class TestQwen3TTSPipeline:
|
|||||||
# Stage 1 uses its per-stage override
|
# Stage 1 uses its per-stage override
|
||||||
assert stages[1].yaml_engine_args["model_arch"] == "Qwen3TTSCode2Wav"
|
assert stages[1].yaml_engine_args["model_arch"] == "Qwen3TTSCode2Wav"
|
||||||
|
|
||||||
|
@pytest.mark.parametrize(
|
||||||
|
"deploy_name",
|
||||||
|
["qwen3_tts.yaml", "qwen3_tts_high_concurrency.yaml"],
|
||||||
|
)
|
||||||
|
def test_default_async_deploy_enables_chunk_ramp(self, deploy_name):
|
||||||
|
deploy = load_deploy_config(Path(get_deploy_config_path(deploy_name)))
|
||||||
|
|
||||||
|
assert deploy.async_chunk is True
|
||||||
|
assert deploy.connectors is not None
|
||||||
|
extra = deploy.connectors["connector_of_shared_memory"]["extra"]
|
||||||
|
assert extra["codec_chunk_ramp"] == [4, 4, 8, 16, 25]
|
||||||
|
|
||||||
def test_subtalker_sampling_params_deep_merge_preserves_base_keys(self):
|
def test_subtalker_sampling_params_deep_merge_preserves_base_keys(self):
|
||||||
"""Verify subtalker sampling params participate in stage deep-merge."""
|
"""Verify subtalker sampling params participate in stage deep-merge."""
|
||||||
base = {
|
base = {
|
||||||
|
|||||||
@@ -26,13 +26,14 @@ connectors:
|
|||||||
codec_left_context_frames: 72
|
codec_left_context_frames: 72
|
||||||
# Emit only the first audio chunk early, then return to codec_chunk_frames.
|
# Emit only the first audio chunk early, then return to codec_chunk_frames.
|
||||||
initial_codec_chunk_frames: 1
|
initial_codec_chunk_frames: 1
|
||||||
# Chunk ramp (opt-in): gradual size increase for first N chunks to
|
# Gradual size increase for the first N chunks eliminates the
|
||||||
# eliminate the IC→steady cliff (1→25). Uncomment to enable.
|
# IC-to-steady cliff (1->25) and improves streaming continuity.
|
||||||
# Each entry is the size of that chunk index; indices past the table
|
# Each entry is the size of that chunk index; indices past the table
|
||||||
# fall back to codec_chunk_frames. When enabled, ramp overrides
|
# fall back to codec_chunk_frames. Ramp overrides
|
||||||
# initial_codec_chunk_frames (including the per-request API field).
|
# initial_codec_chunk_frames, including the per-request API field.
|
||||||
# Example:
|
# Set this to null in a deployment overlay to restore the legacy
|
||||||
# codec_chunk_ramp: [4, 4, 8, 16, 25]
|
# initial_codec_chunk_frames behavior.
|
||||||
|
codec_chunk_ramp: [4, 4, 8, 16, 25]
|
||||||
# Decoder CUDA Graph sizing:
|
# Decoder CUDA Graph sizing:
|
||||||
# * async_chunk=true derives all stateful ICL/xvec shapes from
|
# * async_chunk=true derives all stateful ICL/xvec shapes from
|
||||||
# codec_chunk_ramp when enabled, otherwise from
|
# codec_chunk_ramp when enabled, otherwise from
|
||||||
|
|||||||
@@ -31,13 +31,14 @@ connectors:
|
|||||||
ref_code_context_frames: 72
|
ref_code_context_frames: 72
|
||||||
# Emit only the first audio chunk early, then return to codec_chunk_frames.
|
# Emit only the first audio chunk early, then return to codec_chunk_frames.
|
||||||
initial_codec_chunk_frames: 1
|
initial_codec_chunk_frames: 1
|
||||||
# Chunk ramp (opt-in): gradual size increase for first N chunks to
|
# Gradual size increase for the first N chunks eliminates the
|
||||||
# eliminate the IC→steady cliff (1→25). Uncomment to enable.
|
# IC-to-steady cliff (1->25) and improves streaming continuity.
|
||||||
# Each entry is the size of that chunk index; indices past the table
|
# Each entry is the size of that chunk index; indices past the table
|
||||||
# fall back to codec_chunk_frames. When enabled, ramp overrides
|
# fall back to codec_chunk_frames. Ramp overrides
|
||||||
# initial_codec_chunk_frames (including the per-request API field).
|
# initial_codec_chunk_frames, including the per-request API field.
|
||||||
# Example:
|
# Set this to null in a deployment overlay to restore the legacy
|
||||||
# codec_chunk_ramp: [4, 4, 8, 16, 25]
|
# initial_codec_chunk_frames behavior.
|
||||||
|
codec_chunk_ramp: [4, 4, 8, 16, 25]
|
||||||
# async_chunk derives stateful ICL/xvec graph shapes from the ramp when
|
# async_chunk derives stateful ICL/xvec graph shapes from the ramp when
|
||||||
# enabled, otherwise from the fixed chunk settings above, and ignores
|
# enabled, otherwise from the fixed chunk settings above, and ignores
|
||||||
# decode_cudagraph_capture_sizes. Keep B>1
|
# decode_cudagraph_capture_sizes. Keep B>1
|
||||||
|
|||||||
Reference in new issue
Block a user