Signed-off-by: R2-Y <ruiruyang2@gmail.com> Signed-off-by: psv666 <2693925048@qq.com> Co-authored-by: psv666 <2693925048@qq.com> Co-authored-by: Cursor <cursoragent@cursor.com> Co-authored-by: amy-why-3459 <wuhaiyan17@huawei.com>
42 lines
1.2 KiB
YAML
42 lines
1.2 KiB
YAML
# MiniCPM-o 4.5 native duplex deployment.
|
|
#
|
|
# The registered minicpmo_4_5 pipeline owns the fixed
|
|
# Thinker -> Talker -> Code2Wav topology. This overlay changes session
|
|
# lifetime and bounds all three stages to two live duplex sessions.
|
|
base_config: minicpmo_4_5.yaml
|
|
pipeline: minicpmo_4_5
|
|
session_mode: duplex
|
|
active_stream_window: 1
|
|
duplex_session:
|
|
idle_ttl_s: 300
|
|
disconnect_grace_s: 30
|
|
reaper_interval_s: 5
|
|
resume_replay_ttl_s: 60
|
|
resume_replay_max_bytes_per_session: 8388608
|
|
max_pending_input_bytes_per_session: 16777216
|
|
max_pending_turns_per_session: 4
|
|
# Matches the configured Stage0/Stage1 sequence capacity below.
|
|
max_sessions: 2
|
|
completed_append_cache_size: 256
|
|
|
|
stages:
|
|
- stage_id: 0
|
|
max_num_seqs: 2
|
|
async_scheduling: false
|
|
|
|
- stage_id: 1
|
|
max_num_seqs: 2
|
|
async_scheduling: false
|
|
# Talker context is 4096 (tts_config.max_position_embeddings).
|
|
max_model_len: 4096
|
|
# The split Talker exposes a binary continue/stop vocabulary; native
|
|
# segment and turn boundaries travel as explicit output metadata.
|
|
default_sampling_params:
|
|
max_tokens: 2048
|
|
min_tokens: 0
|
|
stop_token_ids: [1]
|
|
|
|
- stage_id: 2
|
|
max_num_seqs: 2
|
|
async_scheduling: false
|