[Perf][NemotronVoiceChat] Fast defaults for all three deploy profiles: 2.8x offline, realtime full-duplex audio (#6354)

Signed-off-by: Yuekai Zhang <zhangyuekai@foxmail.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Yuekai ZhangandClaude Fable 5 authored and GitHub committed 2026-09-03 18:49:19 -07:00
1 parent e43c787544
commit 4179b0cae1
22 files changed
+2606 -195

No files matched your search

+13
View File
@@ -2936,6 +2936,19 @@ class Orchestrator:
next_prompt_len = max(1, compute_talker_prompt_ids_length(prompt_token_ids))
except Exception:
next_prompt_len = max(1, len(prompt_token_ids))
# A stage may size its own prewarmed placeholder prompt via
# hf_overrides.async_chunk_prewarm_prompt_len (e.g. a talker
# whose engine positions must cover a speaker-prompt prefill;
# the model validates the value and reports the right one on
# mismatch).
prewarm_len = getattr(
getattr(next_pool.stage_vllm_config, "model_config", None),
"hf_config",
None,
)
prewarm_len = getattr(prewarm_len, "async_chunk_prewarm_prompt_len", None)
if prewarm_len is not None and int(prewarm_len) > 1:
next_prompt_len = int(prewarm_len)
original_prompt = req_state.prompt
if isinstance(original_prompt, dict):