tiny-voca INT8 ONNX

Two INT8 ONNX models made from n4ze3m/tiny-voca, a small English text-to-speech model by Muhammed Nazeem. Each file is 7.7 MB instead of 21.4 MB. Both run on CPU in standard ONNX Runtime and OpenVINO. They take the same inputs and give the same outputs as the original onnx/model.onnx. They were made with Kenosis, with no calibration data.

On one thread of a processor with AVX-VNNI, the ONNX Runtime file makes a 5.7-second sentence in 94 ms. The original takes 110 ms on the same processor.

File Size Smaller than original Pick it when
tiny_voca_int8_kenosis.onnx 7.74 MB 63.8% You use ONNX Runtime
tiny_voca_w8_kenosis.onnx 7.73 MB 63.8% You use OpenVINO

The first file is the faster one in ONNX Runtime. The second was the faster one in OpenVINO on the test processor. On the 68-clip test the second also matched the original's word error rate exactly.

The model has 4.54M parameters and two 24 kHz English voices, F2 and M2. As of November 23, 2026, no other public INT8 ONNX release of n4ze3m/tiny-voca existed on Hugging Face.

Run

Quickstart (ONNX Runtime)

Clone or download this repository, then run:

pip install onnxruntime numpy soundfile
python run_tts.py "Hello! This is a fast offline voice running on your processor." out.wav F2 ort

Or load the ONNX file directly in Python with dizione (pip install huggingface_hub git+https://github.com/n4ze3m/dizione):

import os
from pathlib import Path
from huggingface_hub import snapshot_download
import numpy as np
import onnxruntime as ort
import soundfile as sf

repo = Path(snapshot_download(
    "CoreEpoch/tiny-voca-int8-onnx",
    allow_patterns=["tiny_voca_int8_kenosis.onnx", "phonemizer/*"],
))
os.environ["DIZIONE_DATA"] = str(repo / "phonemizer")
import dizione

sess = ort.InferenceSession(str(repo / "tiny_voca_int8_kenosis.onnx"), providers=["CPUExecutionProvider"])
phones = dizione.phonemize("Hello! This is a fast offline voice running on your processor.")
audio = sess.run(["audio"], {
    "tokens": np.array([phones.ids], dtype=np.int64),
    "stress": np.array([phones.stress], dtype=np.int64),
    "voice": np.array([0], dtype=np.int64),        # 0 = F2, 1 = M2
    "speed": np.array([1.0], dtype=np.float32),
    "pitch_shift": np.array([0.0], dtype=np.float32),
    "pitch_range": np.array([1.0], dtype=np.float32),
})[0][0]
peak = float(np.max(np.abs(audio)))
if peak > 0.99:
    audio = audio * (0.99 / peak)
sf.write("out.wav", audio, 24000)

OpenVINO

pip install openvino numpy soundfile
python run_tts.py "Hello! This is a compact offline voice running on your processor." out_ov.wav M2 openvino

Or load the file directly in Python (pip install huggingface_hub):

import sys
from pathlib import Path
from huggingface_hub import snapshot_download
import numpy as np
import openvino as ov
import soundfile as sf

repo = Path(snapshot_download(
    "CoreEpoch/tiny-voca-int8-onnx",
    allow_patterns=["tiny_voca_w8_kenosis.onnx", "run_tts.py", "config.json", "phonemizer/*"],
))
sys.path.insert(0, str(repo))
from run_tts import build_feed

core = ov.Core()
compiled = core.compile_model(core.read_model(str(repo / "tiny_voca_w8_kenosis.onnx")), "CPU")
res = compiled.create_infer_request().infer(
    build_feed("Hello! This is a compact offline voice running on your processor.", voice="M2", repo_dir=repo)
)
audio = res[compiled.outputs[0]][0]
peak = float(np.max(np.abs(audio)))
if peak > 0.99:
    audio = audio * (0.99 / peak)
sf.write("out_ov.wav", audio, 24000)

Inputs and outputs

Input Type Shape
tokens int64 [1, N]
stress int64 [1, N]
voice int64 [1], 0 = F2, 1 = M2
speed float32 [1]
pitch_shift float32 [1]
pitch_range float32 [1]
Output Type Shape
audio float32 [1, samples], 24 kHz
durations int64 [1, N]

Scripts

  • run_tts.py turns text into a WAV file. It uses dizione if installed. Otherwise it uses the bundled phonemizer/lexicon.tsv and config.json.
  • eval_tts.py checks accuracy on the 68 test clips and times one model over 10 runs, using eval_sentences.json. It uses the bundled lexicon by default, or dizione with --dizione. The speed tables below used a different timing method, with the models taking turns.

Accuracy

Word error rate (WER) is the share of words a speech recognizer gets wrong when it transcribes the audio. Lower is better.

The test set is 34 English sentences in eval_sentences.json. Each was spoken by both voices, giving 68 clips and 804 words. Text was converted with the bundled phonemizer/lexicon.tsv. Clips were transcribed with faster-whisper base.en (beam_size=5, temperature=0.0, EnglishTextNormalizer). Calibration data: none.

Model Size ONNX Runtime WER (68 clips) OpenVINO WER (68 clips)
Original FP32 (n4ze3m/tiny-voca) 21.39 MB 1.00% (8/804) 1.00% (8/804)
Stock ONNX Runtime quantize_dynamic 8.12 MB 1.00% (8/804) 0.87% (7/804)
tiny_voca_int8_kenosis.onnx 7.74 MB 1.24% (10/804) 0.87% (7/804)
tiny_voca_w8_kenosis.onnx 7.73 MB 1.00% (8/804) 1.00% (8/804)

By voice, in ONNX Runtime:

Model F2 M2
Original FP32 1.24% (5/402) 0.75% (3/402)
Stock ONNX Runtime quantize_dynamic 1.49% (6/402) 0.50% (2/402)
tiny_voca_int8_kenosis.onnx 1.24% (5/402) 1.24% (5/402)
tiny_voca_w8_kenosis.onnx 1.24% (5/402) 0.75% (3/402)

Speed

Each figure is the median of 10 timed runs. The four models were timed in alternating order over 5 randomized rounds of 2 runs each. The test sentence is "The northern gate is locked, Commander. Take the underground pass, and meet me at the extraction point." It produces 5.7 seconds of speech (5.675 to 5.749 s across models). The processor has AVX-VNNI. Versions: onnxruntime 1.27.0 and openvino 2026.2.0.

"RT" is how many times faster than playback the model ran. The last two columns compare speed at 1 thread and at 4 threads.

ONNX Runtime CPU

Model 1 thread 4 threads Speed vs original Speed vs stock ORT INT8
Original FP32 (21.39 MB) 110.08 ms (51.6x RT) 56.72 ms (100.1x RT) β€” β€”
Stock ORT quantize_dynamic (8.12 MB) 126.97 ms (45.3x RT) 81.21 ms (70.8x RT) 0.87x / 0.70x 1.00x / 1.00x
tiny_voca_int8_kenosis.onnx (7.74 MB) 93.55 ms (60.8x RT) 52.20 ms (108.9x RT) 1.18x / 1.09x 1.36x / 1.56x
tiny_voca_w8_kenosis.onnx (7.73 MB) 110.07 ms (51.6x RT) 57.06 ms (99.5x RT) 1.00x / 0.99x 1.15x / 1.42x

OpenVINO CPU

Model 1 thread 4 threads Speed vs original Speed vs stock ORT INT8
Original FP32 (21.39 MB) 125.41 ms (45.2x RT) 53.09 ms (106.9x RT) β€” β€”
Stock ORT quantize_dynamic (8.12 MB) 156.91 ms (36.6x RT) 66.59 ms (86.3x RT) 0.80x / 0.80x 1.00x / 1.00x
tiny_voca_int8_kenosis.onnx (7.74 MB) 150.52 ms (37.8x RT) 63.09 ms (90.1x RT) 0.83x / 0.84x 1.04x / 1.06x
tiny_voca_w8_kenosis.onnx (7.73 MB) 112.22 ms (50.7x RT) 49.85 ms (114.1x RT) 1.12x / 1.06x 1.40x / 1.34x

Non-VNNI x86-64 Linux confirmation

Checked on a 2-vCPU x86-64 Linux processor without VNNI (onnxruntime 1.27.0). Timing used 3 alternating rounds of 2 runs on a 6.0-second sentence (5.941 to 5.995 s). Accuracy used 10 Harvard sentences with voice F2 and the dizione frontend. These runs used the same two Kenosis 2.5.1 files before symbol scrubbing, which renames the graph's internal names. The weights and graph structure are identical.

Model 1 thread 4 threads WER (10 sentences, F2)
Original FP32 (21.39 MB) 139.95 ms (42.5x RT) 300.57 ms (19.8x RT) 2.47% (2/81)
Stock ORT quantize_dynamic (8.12 MB) 180.45 ms (33.2x RT) 453.40 ms (13.2x RT) 1.23% (1/81)
tiny_voca_int8_kenosis 124.91 ms (47.7x RT) 275.30 ms (21.6x RT) 2.47% (2/81)
tiny_voca_w8_kenosis 142.48 ms (41.9x RT) 287.38 ms (20.7x RT) 1.23% (1/81)

This machine has 2 vCPUs. Its 4-thread times are slower than its 1-thread times.

Limits

  • English only, with two fixed voices. No voice cloning and no streaming, as in the original model.
  • In OpenVINO on the test processor, tiny_voca_int8_kenosis.onnx was slower than the original. Use tiny_voca_w8_kenosis.onnx there.
  • In ONNX Runtime, tiny_voca_w8_kenosis.onnx runs at about the original's speed, not faster.
  • Read small word error differences with care. The model includes a random noise source. On the same 68 clips, tiny_voca_int8_kenosis.onnx made 10 errors in ONNX Runtime and 7 in OpenVINO.
  • Accuracy here is an automatic word error rate, not a listening test.
  • The speed figures come from two x86-64 processors. OpenVINO was timed on one of them.
  • The original repository also has quantized GGUF files, which run in other runtimes. This card does not measure them.

Integrity & license

  • tiny_voca_int8_kenosis.onnx (7,741,234 B), SHA-256 0b5e17e57aa0877cb80f4681778376f4a0db98d7300b753161289bc48c2000bd
  • tiny_voca_w8_kenosis.onnx (7,734,418 B), SHA-256 019f2010b9d7215958400ddd605a2be0cc609de700204b6d8f8bafa5aa212ee8

Open-weight model derivatives, scripts (run_tts.py, eval_tts.py), evaluation sentences (eval_sentences.json), and documentation are released under Apache-2.0 (see LICENSE and NOTICE). Base model: n4ze3m/tiny-voca by Muhammed Nazeem (ORCID 0009-0002-9991-0217), FP32 ONNX opset 17 (onnx/model.onnx, SHA-256 fe6d918791a15b82e37465981d7f27a070e46b46635e5a3482fc8dff87a1ae46). The bundled config.json and phonemizer/ files are redistributed unmodified from n4ze3m/tiny-voca. config.json is under that repository's Apache-2.0 license. The phonemizer/ files are under their own third-party licenses: CMU Pronouncing Dictionary (phonemizer/LICENSE.cmudict, a BSD-style license, Carnegie Mellon University) and WikipediaHomographData (phonemizer/LICENSE.homograph-data, Apache-2.0, Google Inc., Gorman, Mazovetskiy, & Nikolaev 2018). The Apache-2.0 license covers Core Epoch LLC's model derivatives, scripts, evaluation sentences, and documentation only (excluding third-party phonemizer/ files under their own licenses); it grants no rights in Kenosis, Core Epoch's quantizer, which remains proprietary.

@software{nazeem2026tinyvoca,
  author = {Nazeem, Muhammed},
  title  = {tiny-voca: a 4.5M-parameter two-voice English text-to-speech model},
  year   = {2026},
  url    = {https://huggingface.co/n4ze3m/tiny-voca}
}

Benchmarks and contact: coreepoch.dev/kenosis Β· [email protected]

Downloads last month
37
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for CoreEpoch/tiny-voca-int8-onnx

Base model

n4ze3m/tiny-voca
Quantized
(12)
this model