Repository navigation
Refactor Zonos3 execution and preserve chunked voice consistency - #1282
Merged
Merged
Conversation
Owner
Author
|
@Ryu1845 I haven't looked into Zonos2 yet, but it may have the same voice consistency issue. |
Contributor
|
Argh, thanks for the heads up. I'll look into this ASAP |
This was referenced Nov 19, 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.
Unreferenced Zonos3 text chunks can select different voices, and some requests lose the final sentence. Anchor later chunks to the first chunk’s generated acoustic codes while preserving explicit references and single-chunk output.
Reuse framework MoE resources, depthwise convolution, attention and weighted-statistics modules; retain decoder state/graphs between requests and remove redundant host copies and zero-tap resampling work. Host spectral conversion and the existing FFT now use the configured thread count. All implementation changes are model-local; no framework or GGML changes.
The public guidance option is now
guidance_scale, without acfg_scalealias. Existing model-prefixed MoE options remain accepted alongside the shared controls.Validation
Direct comparison: main
51fa5e611versus this branch9ae5f757a. RTX 5090, Ryzen 9 7900X, Debug build, eight threads, native PTQ package. Temperature 0.75, maximum 400 generated rows per chunk, text normalization disabled, endline chunking with a 160-character budget, seeds 42 and 2026. Warmed A → B → B → A, six measured requests per side/workload/backend; 108 measured requests succeeded.CPU performance is essentially unchanged. Chunked output duration changes after fixing voice conditioning; RTF uses actual output duration.