-
Notifications
You must be signed in to change notification settings - Fork 17
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
Enabling use of GPU #1
Comments
does uninstalling "kokoro-onnx" and installing "kokoro-onnx[gpu]" fix your issue? uv remove kokoro-onnx
uv add kokoro-onnx[gpu]' or pip uninstall kokoro-onnx
pip install kokoro-onnx[gpu]'
`` |
Didn't make a difference for me. |
running i see it creates venv with
|
its being addressed Upstream so far i can't reproduce your issue, i'll look into it soon |
uv remove kokoro-onnx does it support Mac M chips ? I get errors |
@teebu how to use this on mac
|
There might be some issue with onnxruntime module. microsoft/onnxruntime#7748 I have not been able to use GPU. The versions might have an effect according to some note I found but Im not getting it to work. |
uv add 'kokoro-onnx[gpu]' |
yes, upstream kokoro-onnx is addressing this issue, as kokoro-onnx[gpu] pulls onnxruntime_gpu as well as onnxruntime. there is a work around, (i'm not a fan of it) uv pip install kokoro-onnx[gpu]
uv pip uninstall onnxruntime
uv pip install onnxruntime_gpu This was reported to be working. |
can it support MAC can some one provide a guide for mac ? |
ChatGPT had this to say: The error occurs because the zsh shell interprets the square brackets [] as special characters for glob patterns. To fix this issue, you can escape the brackets or quote the entire package name. pip install kokoro-onnx[gpu] export ONNX_PROVIDER=CoreMLExecutionProvider |
I assumed the recent update enabled gpu use, but the only way I was able to get it to start using the GPU is set an env var.
Is it supposed to auto detect this or is this the proper way to enable use of gpu?
The text was updated successfully, but these errors were encountered: