Releases: thewh1teagle/kokoro-onnx
Release list
model-files-v1.1
Both Kokoro models in three precisions, exported with scripts/export.py.
| file | size | notes |
|---|---|---|
| kokoro-v1.0.onnx | 326 MB | English, full precision |
| kokoro-v1.0.fp16.onnx | 164 MB | spectral correlation 0.999 against fp32 |
| kokoro-v1.0.int8.onnx | 114 MB | spectral correlation 0.916 against fp32 |
| kokoro-v1.1-zh.onnx | 326 MB | Chinese and English, full precision |
| kokoro-v1.1-zh.fp16.onnx | 164 MB | spectral correlation 0.994 against fp32 |
| kokoro-v1.1-zh.int8.onnx | 114 MB | spectral correlation 0.874 against fp32 |
| voices-v1.0.bin | 28 MB | 54 voices for the v1.0 models |
| voices-v1.1-zh.bin | 53 MB | 103 voices for the v1.1-zh models |
Every model in this release carries three improvements over the previous exports:
- a duration output, which kokoro-onnx 0.6.0 uses for
create_timed()timestamps and forcreate(continuous=True)sliding window synthesis - a float
speedinput. The previously published kokoro-v1.1-zh.onnx declared it as int32, so fractional speeds were truncated andspeed=0.9crashed the model (#155) - config.json embedded in the graph metadata, so the vocabulary travels with the model and no
vocab_configargument is needed
All variants keep float inputs and outputs and are called identically.
Note: kokoro-v1.1-zh.onnx replaces the file published in this release on Mar 1 2025. Same weights, fixed graph contract.
model-files-v1.0
kokoro-v1.0.onnx: (310MB): optimized f32 version from taylorchu/kokoro-onnx
kokoro-v1.0.fp16.onnx: (169MB): optimized f16 version from taylorchu/kokoro-onnx
kokoro-v1.0.int8.onnx: (88MB): optimized int8 version from taylorchu/kokoro-onnx
voices-v1.0.bin: npz (numpy) key value pairs of style vectors contains the following voices (26):
See list of voice names and languages in https://huggingface.co/hexgrad/Kokoro-82M/blob/main/VOICES.md
model-files
kokoro-v0_19.onnx: (310MB): optimized f32 version from taylorchu/kokoro-onnx
kokoro-v0_19.fp16.onnx: (169MB): optimized f16 version from taylorchu/kokoro-onnx
kokoro-v0_19.int8.onnx: (88MB): optimized int8 version from taylorchu/kokoro-onnx
voices.bin: npz (numpy) key value pairs of style vectors contains the following voices (26):
af_alloy, af_aoede, af_bella, af_jessica, af_kore, af_nicole, af_nova, af_river, af_sarah, af_sky, am_adam, am_echo, am_eric, am_fenrir, am_liam, am_michael, am_onyx, am_puck, bf_alice, bf_emma, bf_isabella, bf_lily, bm_daniel, bm_fable, bm_george, bm_lewis