2026-04-21 09:17:53 -04:00
|
|
|
# VoxCPM2 deploy: single-stage AR pipeline with per-request state batching.
|
|
|
|
|
# Verified on 1x H20 141GB.
|
|
|
|
|
#
|
2026-06-03 23:08:32 +08:00
|
|
|
# VoxCPM2-local runtime knobs are passed through hf_overrides.
|
2026-04-21 09:17:53 -04:00
|
|
|
async_chunk: false
|
|
|
|
|
dtype: bfloat16
|
|
|
|
|
|
|
|
|
|
stages:
|
|
|
|
|
- stage_id: 0
|
2026-06-03 23:08:32 +08:00
|
|
|
max_num_seqs: 32
|
2026-04-21 09:17:53 -04:00
|
|
|
gpu_memory_utilization: 0.9
|
|
|
|
|
enforce_eager: true
|
2026-05-06 14:25:20 +08:00
|
|
|
trust_remote_code: true
|
|
|
|
|
enable_prefix_caching: false
|
2026-04-21 09:17:53 -04:00
|
|
|
async_scheduling: true
|
|
|
|
|
max_num_batched_tokens: 4096
|
|
|
|
|
max_model_len: 4096
|
|
|
|
|
devices: "0"
|
2026-06-03 23:08:32 +08:00
|
|
|
engine_extras:
|
|
|
|
|
hf_overrides:
|
|
|
|
|
voxcpm2_runtime_config:
|
|
|
|
|
audio_emit_every: 1
|
|
|
|
|
vae_decode_every: 3
|
|
|
|
|
enable_batched_cfm: true
|
|
|
|
|
enable_batched_vae_decode: true
|
|
|
|
|
coalesce_audio_d2h: true
|
|
|
|
|
enable_loc_dit_fused_qkv: true
|
|
|
|
|
enable_loc_dit_fused_mlp: true
|
|
|
|
|
enable_loc_dit_zero_dt_cache: true
|
|
|
|
|
enable_loc_dit_skip_qkv_contig: true
|
2026-04-21 09:17:53 -04:00
|
|
|
default_sampling_params:
|
|
|
|
|
temperature: 0.0
|
|
|
|
|
top_p: 1.0
|
|
|
|
|
top_k: -1
|
|
|
|
|
max_tokens: 4096
|
|
|
|
|
seed: 42
|
|
|
|
|
repetition_penalty: 1.0
|