Skip to content
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

DeepSpeed on Apple Silicon? #566

Closed
fakerybakery opened this issue Aug 12, 2023 · 3 comments
Closed

DeepSpeed on Apple Silicon? #566

fakerybakery opened this issue Aug 12, 2023 · 3 comments

Comments

@fakerybakery
Copy link
Contributor

Hi,
I saw that PR #550 recently added support for MPS/M1, but the Readme says DeepSpeed is not supported on Apple Silicon:

Be aware that DeepSpeed is disabled on Apple Silicon since it does not work. The flag --use_deepspeed is ignored. You may need to prepend PYTORCH_ENABLE_MPS_FALLBACK=1 to the commands below to make them work since MPS does not support all the operations in Pytorch.
However, DeepSpeed PR #3907 adds support for Apple Silicon.
Is there any way to run DeepSpeed on M1 with Tortoise TTS?
Thank you!

@manmay-nakhashi
Copy link
Collaborator

@fakerybakery deepspeed doesn't support Apple silicon.

@manmay-nakhashi
Copy link
Collaborator

@fakerybakery example in deepspeed is for training not for inference, i think you can try if it works for you , feel free to cntribute over here

@SSardorf
Copy link

@fakerybakery @manmay-nakhashi
As far as I can tell, it works. I've enabled deep speed in my PR which enables mps support.
However, I it doesn't seem to have much of an effect on the speed of inference
#837

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants