-
Notifications
You must be signed in to change notification settings - Fork 34
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 cpu/mps? #21
Comments
It might be hard to run this model on Mac since it requires a lot of memory and would be very slow on the CPU. |
Probably worth trying. I'm already running image matting models without any issues. I would love to see this in the next commits. Thoughts? |
Good to hear your models are running! Thanks, then I will consider adding the "device" param in the future. |
Hey there! I'm on Apple M2 Mac.
How can I use mps/cpu device only?
When I'm running example, getting this error:
raise AssertionError("Torch not compiled with CUDA enabled") AssertionError: Torch not compiled with CUDA enabled
The text was updated successfully, but these errors were encountered: