[Bugfix][MiniCPM-o] Cap offline Talker generation at remaining context (#6458)

Signed-off-by: amy-why-3459 <wuhaiyan17@huawei.com>
This commit is contained in:
amy-why-3459 authored and GitHub committed 2026-08-22 12:42:49 +08:00
1 parent faa12af454
commit 42059f19d5
8 files changed
+438 -53

No files matched your search

+8 -3
View File
@@ -66,11 +66,16 @@ stages:
to_stage_2: connector_of_shared_memory
# Talker is a single-vocab codec LM. These knobs go to vLLM's Sampler
# (head_code logits). EOS is tts_config.eos_token_id (num_audio_tokens-1).
# Values track upstream utils.TTSSamplingParams (min_p/win_size/tau_r are
# declared there but never read, so they stay out). repetition_penalty is
# consumed by the Talker, which rescores it over upstream's 16-frame window
# instead of the Sampler's whole-stream presence penalty.
# min_tokens is upstream's min_new_token.
default_sampling_params:
temperature: 0.8
top_p: 0.8
top_k: 100
repetition_penalty: 1.02
top_p: 0.85
top_k: 25
repetition_penalty: 1.05
min_tokens: 50
max_tokens: 4096
seed: 42
+4 -3
View File
@@ -54,9 +54,10 @@ stages:
to_stage_2: connector_of_shared_memory
default_sampling_params:
temperature: 0.8
top_p: 0.8
top_k: 100
repetition_penalty: 1.02
top_p: 0.85
top_k: 25
# See minicpmo_4_5.yaml: the Talker rescores this over a 16-frame window.
repetition_penalty: 1.05
min_tokens: 50
max_tokens: 4096
seed: 42
+4 -3
View File
@@ -59,9 +59,10 @@ stages:
to_stage_2: connector_of_shared_memory
default_sampling_params:
temperature: 0.8
top_p: 0.8
top_k: 100
repetition_penalty: 1.02
top_p: 0.85
top_k: 25
# See minicpmo_4_5.yaml: the Talker rescores this over a 16-frame window.
repetition_penalty: 1.05
min_tokens: 50
max_tokens: 4096
seed: 42
+4 -3
View File
@@ -71,9 +71,10 @@ stages:
to_stage_2: connector_of_shared_memory
default_sampling_params:
temperature: 0.8
top_p: 0.8
top_k: 100
repetition_penalty: 1.02
top_p: 0.85
top_k: 25
# See minicpmo_4_5.yaml: the Talker rescores this over a 16-frame window.
repetition_penalty: 1.05
min_tokens: 50
max_tokens: 4096
seed: 42