-
Notifications
You must be signed in to change notification settings - Fork 317
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
Torch("supported devices include CPU, CUDA and HPU, however got MPS") #609
Comments
I think the issue is actually on the libtorch side, see pytorch/pytorch#88820 |
Thanks, the problem was solved by the following
|
@LaurentMazare the workaround seems to work for users with access to the Since this seems to be the only way to load weights on MPS currently, would you be open to a pull request making this the default behaviour when loading weights (i,e. if the This hopefully gets resolved eventually and the workaround could then be removed from the |
@guillaume-be sure, that sounds like a reasonable temporary workaround so feel free to mint a PR or let me know if you don't have the time and I'll do it, probably good to have a comment that points at this issue and mention that we should revisit. |
torch-version: 1.13.1
OS: macOS 13.1
Chip: M1
The text was updated successfully, but these errors were encountered: