laura-tts-small: A lightweight bilingual speech synthesis model for CPUs
2 min readupdated
The model is a compact text-to-speech engine with just 15.7M parameters that runs in real time on standard CPU hardware found in laptops or mini PCs. Built on the VITS architecture (similar to the Piper "medium" layout), it was trained using knowledge distillation from the larger Qwen3-TTS 0.6B system. The model supports English and Korean, delivering mono audio at a sample rate of 22,050 Hz. It is designed as a voice engine for local assistants and interactive applications where heavy GPU-based AI models are impractical.
Key features
- Compact size: only 15.65M parameters in total (13.99M encoder and 1.66M decoder).
- High speed: a real-time factor (RTF) of around 0.056 on four CPU threads.
- Bilingual support: English (via the espeak-ng phoneme emulator) and Korean (via g2pk2).
- Streaming support: separable encoder and decoder architecture for real-time audio generation with minimal latency.
What you can do
- Integrate it into a local voice assistant or smart home system for fast response generation on a CPU.
- Run it on single-board computers or port it to mobile devices in the future.
- Deploy a streaming HTTP server for real-time speech generation with minimal time-to-first-audio-chunk latency.
Example
import json, numpy as np, onnxruntime as ort
from laura_g2p import phonemize, to_ids
cfg = json.load(open("config.json"))
ids = to_ids(phonemize("오늘 일정 알려 드릴게요.", "ko"), cfg["phoneme_id_map"])
sess = ort.InferenceSession("model.onnx", providers=["CPUExecutionProvider"])
inf = cfg["inference"]
audio = sess.run(None, {
"input": np.array([ids], np.int64),
"input_lengths": np.array([len(ids)], np.int64),
"scales": np.array([inf["noise_scale"], inf["length_scale"], inf["noise_w"]], np.float32),
})[0].reshape(-1)Read more
DetailsBenchmarks: Word error rate (WER) for English is 0.171, character error rate (CER) for Korean is 0.104, and speaker similarity to the teacher model is 0.806.
Hardware requirements: runs on a CPU (tested on an Intel i9-10980HK restricted to 4 cores, time to first chunk ~62–72 ms).
Training details: distillation on a synthetic corpus of 6,293 clips (7.36 hours), warm-started from the Piper LJSpeech checkpoint.
License: model weights are distributed under the Apache-2.0 license, and the code is under MIT.










Comments