[Model] Stop MiniCPM-o Thinker at TTS boundaries (#7463)

Signed-off-by: Zhu Shihao <zhushihao@bytedance.com>
Co-authored-by: Zhu Shihao <zhushihao@bytedance.com>
This commit is contained in:
Ethan ZHUandZhu Shihao authored and GitHub committed 2026-09-14 15:25:00 -07:00
1 parent 7ad51f0007
commit 9f85b3722e
9 files changed
+113 -30

No files matched your search

@@ -53,7 +53,13 @@ MINICPMO_4_5_PIPELINE = PipelineConfig(
owns_tokenizer=True,
requires_multimodal_data=True,
engine_output_type="latent",
sampling_constraints={"detokenize": True},
sampling_constraints={
"detokenize": True,
# The llm2tts bridge discards this boundary and every row
# after it, so stop Stage 0 as soon as either valid
# MiniCPM-o 4.5 turn terminator is sampled.
"stop_token_ids": [151704, 151645],
},
),
StagePipelineConfig(
stage_id=1,