Follow upstream PocketTTS default temperature (0.3 for English models) - #77
Merged
0xShug0 merged 1 commit intoJul 19, 2026
Merged
Conversation
Owner
|
@adambenhassen Merged! Thank you! |
dleiferives
pushed a commit
to dleiferives/audio.cpp
that referenced
this pull request
Jul 25, 2026
Anc813
pushed a commit
to Anc813/audio.cpp
that referenced
this pull request
Jul 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
Upstream pocket-tts changed the English models' default temperature from 0.7 to 0.3 in kyutai-labs/pocket-tts@d108410 ("Human evaluations consistently prefer the English model at temperature 0.3 over the current default 0.7"). audio.cpp hardcodes 0.7 for all languages and ignores the new
default_temperatureyaml key, so English output at default settings no longer matches reference quality.Changes
PocketTTSModelConfiggainsdefault_temperature(fallback 0.7, matching upstream'sConfig.default_temperatureschema default for custom yamls)default_temperaturekey when presentenglishandenglish_2026-04, mirroring the two configs upstream changed; other languages stay at 0.7temperature=option still overridespocket_tts.-prefixed spellings (following the existingomnivoice.mem_saver/mem_saveralias pattern): the warm bench passes namespaced keys the session never read, so its generation options (including parity seed and noise file) were silently ignored - masked until now because the harness default equaled the hardcoded 0.7Verification
scripts/build_metal.sh --target audiocpp_cli # compiles cleanWith
language=englishand no temperature option, generation runs at 0.3;temperature=0.7(either spelling) reproduces the previous output. Non-English languages unchanged.