[Bugfix] Use Seed-TTS reference audio with MiniCPM-o 4.5 (#6628)

Signed-off-by: akshatvishu <akshatnayak197@gmail.com>
This commit is contained in:
akshatvishu authored and GitHub committed 2026-08-31 10:27:34 +08:00
1 parent 4cca28e9bd
commit f321cdbe16
10 files changed
+529 -56

No files matched your search

@@ -272,6 +272,11 @@ class MiniCPMO45Code2Wav(nn.Module):
ref_audio,
meta.get("ref_audio_sr"),
)
logger.debug(
"MiniCPM-o Code2Wav selected runtime reference prompt_cache_id=%s prompt_wav=%s",
entry.cache_id,
entry.path,
)
return entry.cache_id, entry.path, cache_key
if previous is not None:
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
# SPDX-FileCopyrightText: Copyright contributors to the vLLM project
# SPDX-FileCopyrightText: Copyright contributors to the vLLM-Omni project
"""MiniCPM-o 4.5 pipeline topology (frozen).
Stage 0: Thinker — multimodal understanding + text generation.
@@ -17,6 +17,7 @@ from vllm_omni.config.stage_config import (
)
_PROC = "vllm_omni.model_executor.stage_input_processors.minicpmo_4_5_omni"
MINICPMO45_REFERENCE_AUDIO_KEY = "_minicpmo45_reference_audio"
MINICPMO_4_5_PIPELINE = PipelineConfig(