-
-
Notifications
You must be signed in to change notification settings - Fork 150
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
How to use GPU, the default is the CPU used #92
Comments
I have the same issue. it never uses GPU. I followed some instructions online but it did not work. pip uninstall onnxruntime I also tried: None of this work. I don't think it is project related, it must be something with my OS or python setup. |
Same issue with everything installed as per muduolin on a GTX 1080 DEBUG [init.py:35] koko-onnx version 0.4.0 on Linux-6.12.10-arch1-1-x86_64-with-glibc2.40 #1 SMP PREEMPT_DYNAMIC Sat, 18 Jan 2025 02:26:57 +0000 pyproject.toml : [project] |
I found the solution on Windows 11. Need to downgrade CUDA to 11.8.
Make sure the bin directory (C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\bin) is ahead of 12.8 in the PATH variable
|
Got it working too on linux thanks to muduolin. Solution is to uv run with_log.py Thanks a lot |
Specify 11.8 or use cpu |
python podcast.py Does anyone meet this issue? Is it ok to have this? |
https://github.com/thewh1teagle/kokoro-onnx/blob/main/examples/with_gpu.py
I installed PIP Install Kokoro-ONNX [GPU] soundDevice
But how should I operate in the CPU that is actually called?
My graphics card is RTX2070
The text was updated successfully, but these errors were encountered: