[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

@@ -1,3 +1,6 @@
# SPDX-License-Identifier: Apache-2.0
# SPDX-FileCopyrightText: Copyright contributors to the vLLM-Omni project
from typing import NamedTuple
import torch
@@ -6,6 +9,18 @@ from vllm.sequence import IntermediateTensors
from vllm_omni.data_entry_keys import OmniPayload
class OwnedBatchTensor(NamedTuple):
"""A batch tensor whose producer transfers ownership to the buffer.
The producer must have freshly allocated the tensor (e.g. an index_select
result) and must not write it afterwards. The buffer keeps row views
instead of taking a second snapshot. Tensors without this marker are
treated as borrowed (graph output / shared scratch) and still get a clone.
"""
tensor: torch.Tensor
class OmniOutput(NamedTuple):
"""Output from the merged Omni model containing both text and audio."""