Kokoro-onnx for text to speech with Cuda on Freebsd with Emacs
Using a simple python script to create an api using fastapi and uvicorn we can use kokoro-onnx using curl on the command line or using emacs and a couple of lines of elisp code
Cuda support on Freebsd using podman
Note you should be able to get this working on Linux,
Mac and Windows as well
Supports multiple languages
Offer multiple voices
Lightweight: ~300MB (quantized: ~80MB)
kokoro-onnx github
github.com
freebsd-cuda project
github.com
kokoro-onnx podman container for freebsd
github.com
kokoro-onnx install with cuda
uv init -p 3.12
uv venv
uv pip install kokoro-onnx soundfile "onnxruntime-gpu[cuda,cudnn]" fastapi
you will also need the following packages installed
libsndfile libffi-devel
download the model files
kokoro-api script
github.com
note you if you arent using the podman continer you will need to edit the script and change the MODEL_PATH and VOICES_PATH paths
github.com
@sachactube text to speech
freebsd root
github.com
freebsd dotfiles
github.com
freebsd bin
github.com
Using a simple python script to create an api using fastapi and uvicorn we can use kokoro-onnx using curl on the command line or using emacs and a couple of lines of elisp code
Cuda support on Freebsd using podman
Note you should be able to get this working on Linux,
Mac and Windows as well
Supports multiple languages
Offer multiple voices
Lightweight: ~300MB (quantized: ~80MB)
kokoro-onnx github
GitHub - thewh1teagle/kokoro-onnx: TTS with kokoro and onnx runtime
TTS with kokoro and onnx runtime. Contribute to thewh1teagle/kokoro-onnx development by creating an account on GitHub.
freebsd-cuda project
GitHub - NapoleonWils0n/freebsd-cuda: Run Linux command line and gui applications on FreeBSD with full Nvidia Cuda hardware acceleration.
Run Linux command line and gui applications on FreeBSD with full Nvidia Cuda hardware acceleration. - NapoleonWils0n/freebsd-cuda
kokoro-onnx podman container for freebsd
GitHub - NapoleonWils0n/freebsd-cuda: Run Linux command line and gui applications on FreeBSD with full Nvidia Cuda hardware acceleration.
Run Linux command line and gui applications on FreeBSD with full Nvidia Cuda hardware acceleration. - NapoleonWils0n/freebsd-cuda
kokoro-onnx install with cuda
uv init -p 3.12
uv venv
uv pip install kokoro-onnx soundfile "onnxruntime-gpu[cuda,cudnn]" fastapi
you will also need the following packages installed
libsndfile libffi-devel
download the model files
kokoro-api script
freebsd-cuda/containers/python/kokoro-onnx/bin/kokoro-api at master · NapoleonWils0n/freebsd-cuda
Run Linux command line and gui applications on FreeBSD with full Nvidia Cuda hardware acceleration. - NapoleonWils0n/freebsd-cuda
note you if you arent using the podman continer you will need to edit the script and change the MODEL_PATH and VOICES_PATH paths
freebsd-cuda/containers/python/kokoro-onnx/bin/kokoro-api at master · NapoleonWils0n/freebsd-cuda
Run Linux command line and gui applications on FreeBSD with full Nvidia Cuda hardware acceleration. - NapoleonWils0n/freebsd-cuda
@sachactube text to speech
freebsd root
GitHub - NapoleonWils0n/freebsd-root-xps: freebsd root dotfiles for dell xps 15 2019
freebsd root dotfiles for dell xps 15 2019. Contribute to NapoleonWils0n/freebsd-root-xps development by creating an account on GitHub.
freebsd dotfiles
GitHub - NapoleonWils0n/freebsd-dotfiles-xps: freebsd dotfiles dell xps 15 2019
freebsd dotfiles dell xps 15 2019. Contribute to NapoleonWils0n/freebsd-dotfiles-xps development by creating an account on GitHub.
freebsd bin
GitHub - NapoleonWils0n/freebsd-bin-xps: freebsd-bin-xps
freebsd-bin-xps. Contribute to NapoleonWils0n/freebsd-bin-xps development by creating an account on GitHub.