-
Notifications
You must be signed in to change notification settings - Fork 11k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request: Add support for Kokoro TTS #11050
Comments
+1 |
+1. The claim is that it's faster than realtime on the Mac. |
+1 |
4 similar comments
+1 |
+1 |
+1 |
+1 |
+1 🎯 |
+1 |
3 similar comments
+1 |
+1 |
+1 |
+2 |
+1 |
2 similar comments
+1 |
+1 |
+1 Would be cool to see more tts options in llama.cpp |
These can be reproduced at https://hf.co/spaces/hexgrad/Kokoro-TTS without installing anything.
sorry.mp4
longer.mp4
punctuation.mp4 |
@hexgrad are those reprods with a C++ implementation? |
@namhkoh No, it's Python & PyTorch, as I mentioned #11050 (comment)
|
There is an onnx/c# implimentation of Kokoro here https://github.com/Lyrcaxis/KokoroSharp But I think? (not sure) its using espeak as the phonemiser? which is different? to how the Python & Pytorch version works? That use G2P? Am I correct here? @hexgrad ? |
I am currently seeking a c++ implementation. |
You need G2P to make the whole thing work, but llama.cpp can probably disregard that piece for now—the c++ scope for llama.cpp would likely just be porting the modeling code in these 3 files:
|
We supported kokoro in sherpa-onnx a long time ago. It provides not only C++ APIs for Kokoro v0.19 and Kokoro 1.0, but it also supports 11 other programming languages, e.g., You can find the usage doc at |
Prerequisites
Feature Description
Devs, can you add support for Kokoro TTS? It's awesome in terms of accents and natural tone, considering it's size. It is currently one of the most popular models in Pandroker's TTS arena space on hugginface. Thanks!
https://huggingface.co/hexgrad/Kokoro-82M
Motivation
Many, including me want to deploy it on cpu/edge devices
Possible Implementation
No response
The text was updated successfully, but these errors were encountered: