You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit ea7f072
Browse filesBrowse the repository at this point in the historyBrowse files
## Summary
- audit `pockettts`, `qwen3tts`, `talkie`, and `wavtokenizer-dec`
against llama.cpp `8d9af256337d1a501250f9bbf4c0859a654bddd6`
- pin suffix-exact converter tensor inventories and negative
closure/misdispatch invariants
- defer every graph/runtime claim rather than aliasing partial TTS
backbones, a novel text LM, or ISTFT parameters to existing Mobius tasks
- document exact companion sidecars, conditioning/state/rate semantics,
overloaded WavTokenizer dimensions, quantization constraints, and pinned
real artifacts
## Decisions
- PocketTTS requires matching `pockettts_spkenc` and `pockettts_gen`
sidecars; its primary GGUF has no semantic LM head.
- Qwen3-TTS is the transformed talker only, not Mobius
`Qwen3TTSForConditionalGeneration` or `Qwen3TTSTokenizerV2Model`;
speaker encoder, 15-codebook predictor, and code-to-wave decoder are
companion-owned.
- Talkie is a text LM with weight-free RMSNorm, post-RoPE Q/K
normalization, gain sidecars, and per-layer embedding skip.
- WavTokenizer decoder emits non-causal `T x 1282` ISTFT parameters, not
waveform audio; exact 24-kHz/hop-320 reconstruction remains
processor-owned.
All four remain `DEFERRED`: the GGUFs are valid, but complete Mobius
graphs and independent parity evidence do not yet exist.
## Validation
- `python -m pytest src/mobius/integrations/gguf/_arch_registry_test.py
src/mobius/integrations/gguf/_upstream_gap_test.py
src/mobius/integrations/gguf/_builder_test.py -q --tb=short` (876
passed)
- broad non-integration suite excluding the pre-existing `glm_moe_dsa`
shape-inference failure (5,989 passed, 52 skipped)
- `lintrunner --output oneline --all-files`
---------
Signed-off-by: Justin Chu <[email protected]>
Co-authored-by: Copilot App <[email protected]>
|`pockettts`| Causal CALM backbone: conditioned token/latent rows plus KV state → hidden state. It has no semantic LM head. The required mmproj performs 24-kHz voice encoding, continuous 32-D flow generation at 12.5 Hz, EOS scoring, and stateful Mimi waveform decoding. |`3 + 10L` primary tensors (`243` for the 24-layer variant); no codebook tensors. | Deferred. Current standalone use is refused before graph construction because omitting `pockettts_spkenc` and `pockettts_gen` would expose the wrong contract. |
233
+
|`qwen3tts`| Transformed causal talker: combined text+codec token IDs plus KV state → a 3072-row codec head shifted into the combined vocabulary. The required mmproj owns speaker conditioning, the remaining 15 codebooks, and stateful 24-kHz code-to-wave decoding. |`3 + 11L` primary tensors (`311` for the 28-layer 1.7B talker). | Deferred. Current standalone use is refused before graph construction; it is neither `Qwen3TTSForConditionalGeneration` nor `Qwen3TTSTokenizerV2Model`. |
234
+
|`talkie`| Text token IDs plus KV state → text logits. This is not an audio model: it uses weight-free RMSNorm, post-RoPE Q/K normalization, query/attention/MLP gains, and an embedding skip in every block. |`2 + 9L` C++ loader-created tensors (`362` for 40 layers), plus `2L` converter-only `.scale` sidecars (`80`; emitted-file union `442`). | Deferred pending a dedicated graph, Q/K sign transform, exact gain-sidecar consumption, quantization guards, and independent logit/state/generation parity. |
235
+
|`wavtokenizer-dec`| One non-causal 4096-entry code stream → `T × 1282` magnitude/phase parameters. The GGUF does **not** emit waveform audio; the missing processor must split 641-bin log-magnitude/phase and perform the exact 24-kHz, hop-320 ISTFT. No recurrent/cache state exists. |`161` tensors for the exact six-layer PosNet and 12-layer ConvNeXt graph. | Deferred. Current use is refused before graph construction until a dedicated feature-decoder task and exact ISTFT processor exist. |
|`pockettts`|`context_length`, `embedding_length`, `block_count`, `feed_forward_length`, `attention.head_count`, and `attention.layer_norm_epsilon`. | KV heads default to attention heads, causal attention defaults true, and RoPE base defaults to 10000. The converter derives dimensions from checkpoint tensor shapes, assumes head size 64, folds learned audio-BOS conditioning into `token_embd.weight`, and fixes the cache bound at 4096. |
242
+
|`qwen3tts`| Generic decoder geometry, `attention.layer_norm_rms_epsilon`, and the required four-entry `rope.dimension_sections`. |`n_deepstack_layers` defaults to zero. The converter folds the text projection MLP into the text embedding rows, appends codec embeddings, offsets codec token IDs by text vocabulary size, writes the shifted EOS ID, and suppresses non-semantic codec rows. |
243
+
|`talkie`| Generic decoder geometry, `attention.layer_norm_rms_epsilon`, and `logit_scale`. | KV heads default to attention heads, head lengths default to `embedding_length / head_count`, causal attention defaults true, and RoPE base defaults to 10000 (the released model writes 1000000). The converter applies Talkie's half-RoPE Q/K sign transform and emits `attn_output.scale`/`ffn_down.scale` from learned gains. Those 80 tensors are converter extras, not model-specific C++ creation sites. llama.cpp may tolerate them through generic weight-scale handling, but Mobius will not silently drop them: every Talkie import remains deferred until a graph explicitly consumes or rejects their exact semantics. |
244
+
|`wavtokenizer-dec`|`context_length`, `embedding_length`, `features_length`, `block_count`, `feed_forward_length`, both PosNet/ConvNeXt widths and counts, layer-norm epsilon, group-norm epsilon/groups, and `vocab_size`. |`attention.causal=false`; no KV or recurrent state. Training-only codebook EMA tensors are intentionally excluded, but the single 4096×512 embedding codebook is required. |
245
+
246
+
`wavtokenizer-dec` deliberately overloads standard metadata. `features_length`
247
+
is the 512-wide codebook feature input, `embedding_length` is the 1282-wide
248
+
output (not the hidden width), and both `posnet.embedding_length` and
249
+
`convnext.embedding_length` are the 768-wide hidden size. Exact files require
0 commit comments