Repository navigation
Prefer current runtime model contracts with explicit embedded-spec selection - #918
Merged
Merged
Conversation
0xShug0
force-pushed
the
fix/model-spec-contract-priority
branch
from
October 15, 2026 14:07
8e69194 to
0cd47f6
Compare
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.
Summary
--model-spec-override embedded, including server configuration and model loading.Validation
Executed 24 standalone Debug CPU combinations using Kokoro Q8: v0.9.1, current source without this patch, and current source with this patch; each with old published and refreshed GGUFs, testing an unchanged option, a legacy option spelling, its canonical spelling, and a newly implemented request option. No external spec override or discoverable local spec was used.
Verified actual synthesis voice/speed and session arena budget, not just successful exit. Equivalent successful WAVs are byte-identical across tested binaries and GGUF generations. Current compatibility handling already covers this sample without the patch; this change decouples future contract updates from weight downloads rather than claiming a new Kokoro compatibility fix.
Also validated explicit embedded selection, server override handling, and focused model-spec/server-config tests during development. Restored the normal Debug CUDA/Vulkan CLI and server builds after the matrix.
Compatibility
This does not make old binaries understand refreshed contracts. Refreshed GGUF publication still requires coordination with compatible downstream prebuilts. Applications requiring the embedded GGUF contract can select it explicitly. No inference graph or kernel changes.