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

Add support for Apple MPS GPU #230

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tony352
Copy link

@tony352 tony352 commented Jul 14, 2023

This adds support for Apple MPS GPUs (Apple Silicon). It adds a new function called to_gpu_mps, modelled on the to_gpu function. A default parameter (init) is set to False.

It is based on the guidance below from Apple (see the 'verify' section): https://developer.apple.com/metal/pytorch/

I have not been able to test this because it connects onto Google Collab and other files I do not have.

This adds support for Apple MPS GPUs (Apple Silicon).  It adds a new function called to_gpu_mps, modelled on the to_gpu function.  A default parameter (__init__) is set to False.

It is based on the guidance below from Apple (see the 'verify' section):
https://developer.apple.com/metal/pytorch/

I have not been able to test this because it connects onto Google Collab and other files I do not have.
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

Successfully merging this pull request may close these issues.

1 participant