rahulrachuri/pocket-tts-coreai

Model

0

stars

3

commits

2

linked in READMEs

Aug 25, 2026

updated

apple
core-ai
coreai
coreai-aimodel
ios
kyutai
mimi
text-to-speech
Browse cluster: On-Device AI Models & CoreAI

README

pocket-tts for Apple Core AI

Converted Core AI bundles for Kyutai's pocket-tts, running fully on-device on iPhone and Apple silicon Macs. Paired with the Swift host at RahulRachuri/pocket-tts-swift.

Source checkpoint: kyutai/pocket-tts-without-voice-cloning, revision e041936c75475d350b405bc870bcf7c22da4e9e6.

Performance

iPhone 17 Pro Max (iPhone18,2, A19 Pro), iOS 27.0, Release build, charging, thermal nominal. 148-word paragraph, one warmup and three timed runs, model load excluded.

configRTF median×realtimepeak RSSload
fp16 gpu0.12817.8×169 MB0.4 s
fp32 gpu0.16466.1×202 MB0.7 s

For reference, on the same phone the Core ML route (FluidInference/pocket-tts-coreml through FluidAudio SDK 0.15.5 at its shipping defaults) measures RTF 0.399, or 2.51× realtime, on a length-matched passage.

Accuracy

Gated against the PyTorch fp32 oracle rather than judged by ear.

  • End-to-end oracle prompt, device GPU: cos 1.000000, max|Δ| 4.3e−5, framing identical.
  • Per-graph transfer under cpuOnly, device versus M4 Pro: bit-identical, max|Δ| = 0 across all eight dumps.
  • ASR round trip: 0.00% WER on the oracle prompt, 1.38% on the 148-word paragraph, 2.45% on a 163-word, 47-second passage.

Contents

bundleprecisionnotes
flowlm_float32_s512fp32flow-LM, multifunction (prefill + step), in-graph state
flowlm_float16_s512fp16same, half precision
flow_decoder_float32_lsd1fp32flow head
flow_decoder_float16_lsd1fp16same, half precision
mimi_decoder_float32_ring272_outer_q_gsfp32Mimi decoder, quantizer folded, in-graph ring state

These are JIT .aimodel bundles. For iOS, compile them AOT with --expect-frequent-reshapes omitted, since every shape here is static.

The model weights themselves are not mirrored here. The Swift host loads model.safetensors, tokenizer.model, and embeddings/<voice>.safetensors directly from Kyutai's checkpoint, which is ungated. Fetch it with huggingface_hub at the revision above.

Requirements

Exported with coreai-core 1.0.0b2. Bundles built with earlier versions are rejected by the Xcode 27 loader, and the export gives no warning when it happens.

Licence and attribution

The converted bundles inherit CC-BY-4.0 from the upstream model and require attribution to Kyutai. The conversion scripts and Swift host are Apache-2.0, in the GitHub repository linked above.

Contributors

rahulrachuri

3 commits

rahulrachuri/pocket-tts-coreai

Model

0

stars

3

commits

2

linked in READMEs

Aug 25, 2026

updated

apple
core-ai
coreai
coreai-aimodel
ios
kyutai
mimi
text-to-speech
Browse cluster: On-Device AI Models & CoreAI

README

pocket-tts for Apple Core AI

Converted Core AI bundles for Kyutai's pocket-tts, running fully on-device on iPhone and Apple silicon Macs. Paired with the Swift host at RahulRachuri/pocket-tts-swift.

Source checkpoint: kyutai/pocket-tts-without-voice-cloning, revision e041936c75475d350b405bc870bcf7c22da4e9e6.

Performance

iPhone 17 Pro Max (iPhone18,2, A19 Pro), iOS 27.0, Release build, charging, thermal nominal. 148-word paragraph, one warmup and three timed runs, model load excluded.

configRTF median×realtimepeak RSSload
fp16 gpu0.12817.8×169 MB0.4 s
fp32 gpu0.16466.1×202 MB0.7 s

For reference, on the same phone the Core ML route (FluidInference/pocket-tts-coreml through FluidAudio SDK 0.15.5 at its shipping defaults) measures RTF 0.399, or 2.51× realtime, on a length-matched passage.

Accuracy

Gated against the PyTorch fp32 oracle rather than judged by ear.

  • End-to-end oracle prompt, device GPU: cos 1.000000, max|Δ| 4.3e−5, framing identical.
  • Per-graph transfer under cpuOnly, device versus M4 Pro: bit-identical, max|Δ| = 0 across all eight dumps.
  • ASR round trip: 0.00% WER on the oracle prompt, 1.38% on the 148-word paragraph, 2.45% on a 163-word, 47-second passage.

Contents

bundleprecisionnotes
flowlm_float32_s512fp32flow-LM, multifunction (prefill + step), in-graph state
flowlm_float16_s512fp16same, half precision
flow_decoder_float32_lsd1fp32flow head
flow_decoder_float16_lsd1fp16same, half precision
mimi_decoder_float32_ring272_outer_q_gsfp32Mimi decoder, quantizer folded, in-graph ring state

These are JIT .aimodel bundles. For iOS, compile them AOT with --expect-frequent-reshapes omitted, since every shape here is static.

The model weights themselves are not mirrored here. The Swift host loads model.safetensors, tokenizer.model, and embeddings/<voice>.safetensors directly from Kyutai's checkpoint, which is ungated. Fetch it with huggingface_hub at the revision above.

Requirements

Exported with coreai-core 1.0.0b2. Bundles built with earlier versions are rejected by the Xcode 27 loader, and the export gives no warning when it happens.

Licence and attribution

The converted bundles inherit CC-BY-4.0 from the upstream model and require attribution to Kyutai. The conversion scripts and Swift host are Apache-2.0, in the GitHub repository linked above.

Contributors

rahulrachuri

3 commits