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

M1 Mac support #124

Closed
raviteja5 opened this issue Apr 8, 2023 · 2 comments
Closed

M1 Mac support #124

raviteja5 opened this issue Apr 8, 2023 · 2 comments

Comments

@raviteja5
Copy link

Thanks for your efforts in making this library. I have a M1 mac, and it says CUDA is not available.

Do you support acceleration on Mac with Metal (MPS) etc.?

Thanks!

@StochasticRomanAgeev
Copy link
Member

Hi @raviteja5 , M1 is supported in cpu mode, for distilgpt2_lora model it should work good (~270Mb), you can also use gpt2_lora (~1GB) and gpt2 (~3.5GB)
We are also doing experiments to support M1 gpu mode to get speedup, but it is working only in pytorch dev build

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
@raviteja5 @StochasticRomanAgeev and others