Irodori-TTS v4.1 Small (MeanFlow) ONNX, int8 for Android CPU
Smaller ONNX runtime files for on-device Japanese speech synthesis on Android (CPU, ONNX Runtime). Used by the UltraAlarm Android app for its wake-up voice prompts.
These are converted runtime artifacts, not new model weights. They are not affiliated with or endorsed by the upstream authors.
Source
- ONNX export:
raratu/Onsei-iOS-Models, revision158b33fdb7fe95753922586c76bc8640feafd897, folderv4.1-small-mf/ - Upstream model:
Aratako/Irodori-TTS-v4.1-Small-MF/Aratako/Irodori-TTS-v4.1-Small - Codec:
Aratako/Semantic-DACVAE-Japanese-32dim - Code: Aratako/Irodori-TTS
What changed
Only text_encoder and dit_step were quantized, with ONNX Runtime dynamic quantization:
from onnxruntime.quantization import quantize_dynamic, QuantType
quantize_dynamic(src, dst, weight_type=QuantType.QInt8,
op_types_to_quantize=["MatMul", "Gemm"], extra_options={"MatMulConstBOnly": True})
All other files are byte-identical copies of the source revision. The decoder stays float32: quantizing its convolutions was 3x slower on CPU and degraded quality (SNR 21 dB).
| file | precision |
|---|---|
text_encoder_int8.onnx |
int8 weights (MatMul) |
dit_step_int8.onnx |
int8 weights (MatMul) |
duration.onnx, context_kv.onnx, dacvae_decode.onnx, speaker_encoder.onnx |
float32, unchanged |
tokenizer/, config.json |
unchanged |
manifest.json lists sizes and SHA-256 digests.
Measurements (one 4.9 s sentence, 4 steps, CPU, 4 threads, each part loaded and released in turn)
| device | float32 | int8 (this repo) |
|---|---|---|
| Galaxy Z Fold6 | 13.7 s, peak RSS 2012 MB | 8.2 s, peak RSS 1317 MB |
| Android TV box (KTC) | 40.7 s, 1708 MB | 20.9 s, 1009 MB |
Whisper transcripts of int8 output matched the text. Log-mel L1 between int8 and float32 was 0.44 to 0.71 (changing the noise seed in float32 gives 2.3 to 2.7).
Light decoder (voice_decoder_a.bin)
A small replacement for dacvae_decode.onnx (latents to 48 kHz audio), used by the UltraAlarm app on CPU.
- Method: knowledge distillation. The current decoder (
dacvae_decode.onnx, Semantic-DACVAE-Japanese-32dim) was the teacher; the student learned to reproduce its output from the same latents. - Training data: only audio generated by Irodori-TTS with the files in this repository (and the latents it produced). No third-party speech corpus was used.
- Architecture: Vocos (ConvNeXt backbone with an inverse-STFT head; https://github.com/gemelo-ai/vocos, MIT,
LICENSES/Vocos-MIT.txt). dim 512, intermediate 1536, 8 layers, 15.7 M parameters, float32, variable length. - The file is encrypted and is only loadable by the UltraAlarm app. It is not intended for use elsewhere.
- Quality on held-out sentences: Whisper CER 2.8 % (teacher 1.9 %); most differences are orthographic.
- Speed (ONNX Runtime CPU): about 40x faster than
dacvae_decode.onnxon an Android TV box (6 s of audio: 10.1 s to 0.24 s), peak memory 178 MB.
Licenses and attribution
The Irodori-TTS weights, Semantic-DACVAE-Japanese adaptations, ModernBERT-ja-310m encoder/tokenizer and conversion code declare MIT. The underlying Meta DACVAE weights/implementation declare Apache License 2.0; Descript DAC uses MIT. The light decoder follows the Vocos architecture (MIT). See LICENSES/ and THIRD_PARTY_NOTICES.md (copied from the source repository). Each component remains subject to its own license; no relicensing is implied. The quantization in this repository is released under MIT.
Responsible use
The upstream model cards request that users:
- Do not clone or impersonate a person's voice without explicit consent.
- Do not create misleading deepfakes or synthetic speech intended to spread misinformation.
- Recognize that text-only output may coincidentally resemble a real voice.
- Take responsibility for compliance with applicable law.
All audio produced with these files is synthetic speech. No watermark is added. Applications should clearly disclose synthetic audio and must enforce consent for voice cloning.
Citation
@misc{irodori-tts-v3,
author = {Chihiro Arata},
title = {Irodori-TTS: A Flow Matching-based Text-to-Speech Model with Emoji-driven Style Control},
year = {2026},
publisher = {Hugging Face},
howpublished = {https://huggingface.co/Aratako/Irodori-TTS-500M-v3}
}
- Downloads last month
- 8,663
Model tree for Ryoppi/Irodori-TTS-v4.1-Small-MF-ONNX-int8
Base model
Aratako/Irodori-TTS-500M-v2