Views
No views yet
| Path | Model | Size | Notes |
|---|---|---|---|
gpu/TextEncoder.mlmodelc | Text encoder (256 tokens) | 9.5 MB | fp16 |
gpu/FmDecoder.mlmodelc | Flow-matching decoder, 1024-frame bucket | 256 MB | fp16, original graph — macOS GPU path |
gpu-6bit/FmDecoder.mlmodelc | 6-bit palettized decoder, 1024-frame bucket | 115 MB | full GPU speed, -0.45 dB, transcript-transparent |
gpu-long/TextEncoder.mlmodelc | Text encoder (512 tokens) | 13 MB | fp16 |
gpu-long/FmDecoder.mlmodelc | Decoder, 2048-frame bucket | 349 MB | long-form macOS (~16.8 s per bucket) |
ane/TextEncoder.mlmodelc | Text encoder (256 tokens) | 9.5 MB | fp16 |
ane/FmDecoder.mlmodelc | ANE-canonical decoder, 1024-frame bucket | 313 MB | 100% ANE placement — iPhone path |
vocoder/Vocoder282.mlmodelc | Vocos vocoder, 282 gen frames (~3.0 s) | 33 MB | ISTFT + 24k→48k resample + crossover in-graph |
vocoder/Vocoder555.mlmodelc | Vocos vocoder, 555 gen frames (~5.9 s) | 33 MB | matches the full 1024-frame bucket |
tokens.txt / config.json | Phoneme token table + model config | — | from upstream LuxTTS |
gpu/ — the original graph layout. Fastest on Mac GPU. Do not run it on the ANE:
the seq-first rel-pos attention path loses precision there and produces corrupted audio.ane/ — ANE-canonical rewrite (channels-first (1,C,1,S), 1×1-conv projections,
constant rel-pos basis, split depthwise kernels). 100% ANE op placement, zero CPU fallback.
This is the iPhone path; it is slower than the original graph on GPU, so keep both.t, x, text_condition, speech_condition, guidance_scale, padding_mask → v).| path | fm step | core RTFx (full bucket) | steady footprint |
|---|---|---|---|
gpu/ fp16, GPU | 14.7 ms | 92x (~5.9 s gen) | 996 MB |
gpu-6bit/, GPU | 15.0 ms | ~92x | 419 MB |
ane/ fp16, ANE | 54.6 ms | 27x | 25.5 MB |
phys_footprint from a Swift host; the ANE graph keeps weights and
activations in ANE-managed memory, hence the 25.5 MB jetsam-visible footprint.gpu/, ane/: 1024 frames (~5.9 s generated after a 5 s prompt), 256 text tokensgpu-long/: 2048 frames (~16.8 s generated), 512 text tokenstokens.txt (espeak-compatible token set) — the frontend is
phoneme-token based, not raw text.pad_labels keeps S+1
token rows; the pad slot's embedding fills remainder frames).t_shift = 0.5 and guidance_scale = 3.0.speed default 1.0 (upstream's generate() default of 1.3 clips sentence onsets).models/tts/zipvoice, PR #75).