[Core][Model] Enable Qwen3-TTS MRV2 and optimize the TTS pipeline (#7781)

Signed-off-by: Sy03 <1370724210@qq.com>
This commit is contained in:
Sy03 authored and GitHub committed 2026-09-20 23:03:08 -07:00
1 parent d139c600c7
commit a9e2117f5e
103 files changed
+10232 -661

No files matched your search

+12
View File
@@ -1,3 +1,6 @@
# SPDX-License-Identifier: Apache-2.0
# SPDX-FileCopyrightText: Copyright contributors to the vLLM-Omni project
"""
Engine components for vLLM-Omni.
"""
@@ -134,10 +137,19 @@ class OmniEngineCoreOutput(EngineCoreOutput):
# pooling_output is inherited from EngineCoreOutput as torch.Tensor | None
# and retains its original vLLM semantics for pooling/embedding tasks.
multimodal_output: dict[str, torch.Tensor] | None = None
# Bytes-serialized carrier for a dict-shaped pooling_output (MR V2 cross-stage
# hidden/codec handoff). vLLM strictly decodes ``pooling_output`` as a
# ``torch.Tensor``, so a per-request dict payload cannot ride that field. The
# producer (OmniARScheduler) sets ``pooling_output=None`` and serializes the
# dict here; the consumer (StagePool._poll_stage_raw) rehydrates it back into
# ``pooling_output`` after decode. Tensor pooling outputs are unaffected.
pooling_output_payload: AdditionalInformationPayload | None = None
# Finished flag for streaming input segment
is_segment_finished: bool | None = False
# Streaming update prompt length
new_prompt_len_snapshot: int | None = None
# Authoritative segment count when the native plane suppresses token IPC.
num_generation_tokens: int | None = None
class OmniEngineCoreOutputs(EngineCoreOutputs):