[Refactor] Make MOSS-TTS-Local stream session dynamic batch (#5235)

Signed-off-by: gcanlin <canlinguosdu@gmail.com>
Signed-off-by: Canlin Guo <canlinguosdu@gmail.com>
This commit is contained in:
Canlin Guo authored and GitHub committed 2026-07-28 21:38:24 +08:00
1 parent f775e80732
commit 61324e65d7
11 files changed
+616 -294

No files matched your search

+2
View File
@@ -159,6 +159,7 @@ class OmniEngineArgs(EngineArgs):
stage_connector_spec: dict[str, Any] = field(default_factory=dict)
subtalker_sampling_params: dict[str, Any] | None = None
async_chunk: bool = False
retains_state_across_chunks: bool = False
# WS-A: Stage-1 active stream slots. 0 = legacy preempt-everything.
# Must be declared here so engine_args dict propagation does not silently
# drop the value when constructing OmniEngineArgs from kwargs.
@@ -341,6 +342,7 @@ class OmniEngineArgs(EngineArgs):
# All kwargs below are Omni specific
stage_id=self.stage_id,
async_chunk=self.async_chunk,
retains_state_across_chunks=self.retains_state_across_chunks,
active_stream_window=self.active_stream_window,
model_stage=self.model_stage,
model_arch=self.model_arch,