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
Does piper support AMD GPU acceleration with rocm? #483
Comments
I can see onnx runtime support AMD rocm, please read: https://rocm.docs.amd.com/projects/radeon/en/latest/docs/install/install-onnx.html But how to get it integrated into piper? |
From what I know, you need to modify and rebuild Piper, setting the execution-providers to your chosen ones. Best |
Appreciate your reply and help. May I ask for more information about:
|
Do you mean I need to manually edit this line: piper/src/python_run/piper/voice.py Line 53 in 078bf8a
|
|
So far, below is the easiest way that I found:
piper/src/python_run/piper/voice.py Line 53 in 078bf8a
to: providers=["ROCMExecutionProvider"] I am open to better solution. I would appreciate if the author of piper and support it directly, so that I don't need to manually edit the line. Many thanks. |
I read piper currently support --cuda argument. I would suggest to add --rocm argument to make piper better. |
Does piper support AMD GPU acceleration with rocm?
The text was updated successfully, but these errors were encountered: