https://hf.co/hexgrad/Kokoro-82M
An inference library for Kokoro-82M. You can pip install kokoro.
Kokoro is an open-weight TTS model with 82 million parameters. Despite its lightweight architecture, it delivers comparable quality to larger models while being significantly faster and more cost-efficient. With Apache-licensed weights, Kokoro can be deployed anywhere from production environments to personal projects.
You can run this basic cell on Google Colab. Listen to samples.
…Under the hood, kokoro uses misaki, a G2P library at https://github.com/hexgrad/misaki
You can run this advanced cell on Google Colab.
…To install espeak-ng on Windows:
*.msi file (e.g. espeak-ng-20191129-b702b03-x64.msi)For advanced configuration and usage on Windows, see the official espeak-ng Windows guide
On Mac M1/M2/M3/M4 devices, you can explicitly specify the environment variable PYTORCH_ENABLE_MPS_FALLBACK=1 to enable GPU acceleration.
PYTORCH_ENABLE_MPS_FALLBACK=1 python run-your-kokoro-script.pyUse the following conda environment.yml if you're facing any dependency issues.
name: kokoro
channels:
- defaults
dependencies:
- python==3.9
- libstdcxx~=12.4.0 # Needed to load espeak correctly. Try removing this if you're facing issues with Espeak fallback.
- pip:
- kokoro>=0.3.1
- soundfile
- misaki[en]Memory leak
Donation/funding for german language
sorry for this but i need it so much.
Offering voice donation for Dutch (nl) TTS voice
[ASTRA] Kokoro / indie TTS on consumer hardware
Greek Voices
KModel loads mismatched checkpoints silently via strict=False
logger.disable("kokoro") silently mutes the truncation warning
Punctuation tokens book real duration and fill it with audible signal (voiced junk after final punctuation; next-word onsets inside leading quote tokens)
Python 3.14?