-
Notifications
You must be signed in to change notification settings - Fork 392
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
Macbook M1 PRO (extremely slow!) #178
Comments
So sell your Mac and buy a PC with nvidia card... frankly this is not an ebook2audiobook issue but all A.I libraries we are using for the speech, which is tensorflows, torch, coqui-tts etc... and M1 is well known to not supported by any of them.... |
I checked and there is support for Mac: Native Apple Silicon (M1/M2) Support for TensorFlow, PyTorch, and Coqui-TTS
Notes
|
yes, you can use these libraries on M1, but with your CPU, not GPU unless you have installed an nvidia. |
for now what we can do is to check if MPS is available, it will be more optimized but will still work on CPU |
Added "mps" device for the next git update/release, thanks to test if it will work for you. |
For tensorflow-macos TensorFlow on Apple Silicon utilizes the CPU’s multiple cores (using the tensorflow-macos version) without needing NUMA-like handling, as the system’s unified memory allows for more efficient data sharing between cores. |
For torch I tried:
I got:
|
torch is one thing, coqui-tts is another thing using only a a part of torch, depending its version etc... |
Yes I read it. I know the Apple silicon is for some reason not compactible with multiple libraries for AI. I struggle to find some TTS that will run on this hardware... Yes can test it on same file, just please let me know when new version will be ready. I will test it and post the difference in speed. |
I don't know when I will update as I'm stuck with other issues for now... follow the repo and you'll receive an email when released. |
don't think about adding MPS support just yet, it will face a issue with the tts model, MPS does not support convolution operations with output channels greater than 65536. It's definitely not a priority to-do but one that will require loads of look into. |
yup, as seem here xtts def has issues trying to run on |
nevermind, it's added already so maybe coqui-tts fork guys will fix it in the near future. |
As there is only CPU support for non-nvidia folks. I tried to create small audio from textfile
I don't know but this is is completely useless to use it on Mac OS.
The text was updated successfully, but these errors were encountered: