Instructions to use dreambeltech/ailo-pocket-tts-litert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LiteRT
How to use dreambeltech/ailo-pocket-tts-litert with LiteRT:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Pocket-TTS
How to use dreambeltech/ailo-pocket-tts-litert with Pocket-TTS:
from pocket_tts import TTSModel import scipy.io.wavfile tts_model = TTSModel.load_model("dreambeltech/ailo-pocket-tts-litert") voice_state = tts_model.get_state_for_audio_prompt( "hf://kyutai/tts-voices/alba-mackenna/casual.wav" ) audio = tts_model.generate_audio(voice_state, "Hello world, this is a test.") # Audio is a 1D torch tensor containing PCM data. scipy.io.wavfile.write("output.wav", tts_model.sample_rate, audio.numpy()) - Notebooks
- Google Colab
- Kaggle
Pocket TTS for LiteRT (Ailo)
On-device, streaming text-to-speech in French and English: Kyutai's Pocket TTS models (about 100M parameters), converted to LiteRT for the Ailo Android app by Dreambel Tech.
Speech is generated on the phone, frame by frame (80 ms of 24 kHz audio per frame), and starts playing while the rest of the sentence is still being generated. Nothing leaves the device.
This is a modified, converted copy of Kyutai's work, shared under the same license. It is not an official Kyutai release and is not endorsed by Kyutai.
Files
| Path | Size | Content |
|---|---|---|
common/pt_mimi_stream2_n1_fp16.tflite |
21 MB | Mimi decoder, one latent frame in, 80 ms of audio out, with streaming state; fp16 weights; shared by both languages |
<lang>/pt_flowlm_tts3_dyn8lm_head16.tflite |
96 MB | Flow language model: decode signature (one step, writes its own key/value row) and prefill_16, prefill_32, prefill_64 signatures sharing its weights |
<lang>/pt_embed_f16.bin |
8 MB | Text token embeddings, fp16, [4001][1024] |
<lang>/pt_input_linear_f32.bin |
128 KB | Latent-to-model input projection, fp32, [1024][32] |
<lang>/pt_bos_input_f32.bin |
4 KB | Beginning-of-speech input, fp32, [1024] |
<lang>/pt_latent_norm_f32.bin |
256 B | Latent mean then standard deviation, fp32, [2][32] |
<lang>/pt_tokenizer.tsv |
125 KB | SentencePiece unigram vocabulary (piece, score) |
<lang>/text_settings.json |
< 1 KB | Text preparation and generation settings of the reference implementation |
<lang>/pt_voice_estelle.bin |
3.6 MB | Voice estelle: precomputed prompt key/value cache, fp16 |
manifest.json |
Size and SHA-256 of every file |
<lang> is fr (Pocket TTS french) or en (Pocket TTS english). All binary files are
little-endian. A voice file holds an int32 prompt length T, then keys and values, each
[96][T][64] fp16 (6 layers x 16 heads).
Changes from the original
- Exported from PyTorch to LiteRT with
litert-torch0.9.3, frompocket-tts4.0.1. - Graphs rewritten for streaming: the text prompt is processed in one call per chunk
(
prefill_*), each decode step writes its key/value row in place (DYNAMIC_UPDATE_SLICE), and Mimi decodes one frame at a time with an explicit state. Transposed convolutions are written as two matrix products. GELU uses the exact tanh form of the original. - Quantized with
ai-edge-quantizer0.8.0: transformer weights dynamic int8, flow head and Mimi weights fp16. Embeddings and voice states are stored in fp16. - Latent normalization is applied by the host, so one Mimi graph serves every language.
- Voice states are re-laid out from the original safetensors; only
estelleis included.
Fidelity checks (PC): streaming Mimi against Pocket's streaming decoder at 84.5 dB SNR (fp16); batched prefill identical to token-by-token prefill; Whisper character error rate on spoken answers unchanged by quantization and streaming (French 0.145, English 0.127).
Measured on a phone
Pixel 11 Pro (Tensor G6), Android 17, LiteRT 2.3.0 CPU with 4 threads and the XNNPACK weight cache: first audio 60 to 75 ms median after the text is ready, 292 ms worst case over 1,360 answers including a hot phone in heavy use; about 4 times faster than real time; about 130 to 170 MB of private memory at the peak of synthesis.
Use and limits
- Write numbers, times, amounts and dates out in words before synthesis: the models turn digits into unintelligible sound.
- Follow the reference text preparation in
text_settings.json(character replacements, sentence chunks of at most 50 tokens, temperature 0.3, end of speech when the end logit exceeds -4). - This repository contains no voice cloning ability: no Mimi encoder, no tool to build a voice from audio. Do not use these models to imitate a real person without their explicit consent.
Attribution
- Pocket TTS model weights, tokenizers and voice states: (c) Kyutai,
CC BY 4.0, from
kyutai/pocket-tts-without-voice-cloning
(revisions
1e08e6a2French weights,8843db76French tokenizer,a7056f50English weights and the voices of both languages,00eac05eEnglish tokenizer). Modified as described above. - Voice
estelle: from Kyutai'sunmute-prod-website/developpeuse-3.wavrecording in kyutai/tts-voices, which Kyutai describes as its own recordings usable as CC0. - Pocket TTS reference code: MIT, Kyutai, https://github.com/kyutai-labs/pocket-tts
- LiteRT conversion approach adapted from john-rocky/LiteRT-Models (MIT, (c) 2026 Daisuke Majima).
Converted and shared by Dreambel Tech for Ailo.
- Downloads last month
- 77
Model tree for dreambeltech/ailo-pocket-tts-litert
Base model
kyutai/pocket-tts-without-voice-cloning