Correct GLM-TTS model_specs_v1 metadata - #123
Conversation
|
This is a metadata-only follow-up to #98, based on current main Why this update was neededThe migrated GLM-TTS v1 entry contained five descriptive option aliases that are not the public keys consumed by
The description also mixed upstream GLM-TTS capabilities with what audio.cpp currently exposes. Upstream supports streaming and optional phoneme input, but the native audio.cpp contribution currently advertises offline Package metadata correctionsThe published standalone file is the quality-tested mixed model: the autoregressive Llama tensors remain F16 while speech-tokenizer, Flow, HiFT, and CAMPPlus tensors are Q8_0. The display name and package description now say this explicitly. Its install target is corrected from The SafeTensors and GGUF Validation
No C++ inference code changed, so audio generation behavior and existing GGUF compatibility are unaffected. |
|
@mirek190 Sorry, I didn't explain this clearly. The v1 spec uses normalized option keys so that different models don’t use different names for the same concept. It also allows the framework to validate certain options centrally (topk etc), instead of duplicating validation logic in every model. When we migrate existing models, we can add a compatibility layer for each model to map the old keys in the requests to the new normalized keys, or just directly align model names with normalized v1 keys. New models should use the normalized keys directly, or at least follow the same naming conventions for any model-specific option keys. I’m currently working on releasing a model early to serve as a reference implementation for future v1-native new models. |
|
Thanks for the clarification. Commit
Validation: JSON/model-manager checks pass, v1/runtime source layouts remain equal, the complete CPU |
Summary
Follow-up to #98 that aligns GLM-TTS with the normalized
model_specs_v1option contract while preserving its existing request keys as compatibility
aliases.
Changes
num_inference_steps,flow_guidance_scale,flow_noise_path,hift_source_random_path, andhift_prior_noise_countflow_steps,cfg_rate,flow_noise_file,hift_source_random_file, andhift_prior_noise_valuesas backward-compatiblealiases
current native runtime does not expose
GLM-TTS-Q8directoryWhy
model_specs_v1is the normalized public contract used by framework validation,catalog clients, and generated UIs. It must not mirror model-specific legacy
implementation names. Compatibility belongs at the model boundary, so new
clients get one consistent vocabulary without breaking existing GLM-TTS
commands.
Impact
Normalized v1 requests now work directly. Existing requests using the old
GLM-TTS keys continue to work. The option resolver also rejects conflicting
values when both a normalized name and its legacy alias are supplied.
Inference math, weights, package loading, and generated output are unchanged.
Validation
model_specs_v1/glm_tts.jsonsourcesremain identical tomodel_specs/glm_tts.jsonglm_tts_q8_0withmodel_manager_v2.py5,143,813,728bytesengine_runtimeCPU targetglm_tts_warm_benchwith normalized option ingestiongit diff --check