tts-dgx-spark-faster-qwen3-tts/config
mARTin-B78 98405f681d fix: prevent voice drift and gender changes on long paragraphs (VoiceClone)
The VoiceClone server was using non_streaming_mode=False, a mode designed
for streaming LLM->TTS pipelines. In that mode only one text token enters
the model's KV cache during prefill; the rest feed via trailing_text_hiddens
at one step per codec frame. For a 54-word paragraph this provides only ~4s
of text guidance for ~18s of speech — 77% generated with no text conditioning.
Without text context the model free-runs and drifts, sometimes changing gender.

Fix: switch to non_streaming_mode=True (already the default for VoiceDesign
and CustomVoice) so the full text is in the prefill throughout generation.
Also lower default temperature 0.9->0.8 and add top_p=0.9 to reduce
accumulated sampling noise over long runs. Temperature, top_k, and top_p
are now configurable per voice in voices.json.

- patches/openai_server.patch: updated for new upstream HEAD; both streaming
  (WAV/PCM) and non-streaming (MP3) paths now use non_streaming_mode=True
- config/run_server.py: align warmup call to non_streaming_mode=True
- README.md: bump image tags v4->v5, add changelog section
- Version: v5

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-30 12:07:43 +02:00
..
speakers docs: replace test beep with real William and Natasha voice samples 2026-05-26 12:55:06 +02:00
auto_transcribe.py Add multi-source voice pipeline with VoiceDesign support 2026-05-26 12:19:33 +02:00
benchmark_api.py Reduce latency: CUDA warmup, chunk_size=4, max-seq-len 2048 2026-05-11 20:43:21 +02:00
customvoice_voices.json Add CustomVoice server, benchmark tool, and VoiceDesign API improvements 2026-05-26 12:19:33 +02:00
docker-compose.yml Point stack images to Docker Hub registry 2026-05-26 12:19:33 +02:00
generate_voices.py Add multi-source voice pipeline with VoiceDesign support 2026-05-26 12:19:33 +02:00
run_customvoice_server.py refactor: load models asynchronously and add CUDA warmup for VoiceDesign and CustomVoice servers 2026-05-26 23:07:51 +02:00
run_server.py fix: prevent voice drift and gender changes on long paragraphs (VoiceClone) 2026-05-30 12:07:43 +02:00
run_voicedesign_server.py refactor: load models asynchronously and add CUDA warmup for VoiceDesign and CustomVoice servers 2026-05-26 23:07:51 +02:00
voicedesign_voices.json Add multi-source voice pipeline with VoiceDesign support 2026-05-26 12:19:33 +02:00