-
Notifications
You must be signed in to change notification settings - Fork 20
Add experimental MPS support #74
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
base: main
Are you sure you want to change the base?
Conversation
|
awesome! A few little things likely to need clean up
|
Ok, I added a quick fix using the suggested env variable. Let me know if it works, if you have time ? Thanks a lot |
|
|
I guess need to globally set |
| if _is_mps_available(torch): | ||
| from os import environ | ||
|
|
||
| environ["PYTORCH_ENABLE_MPS_FALLBACK"] = "1" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It ought to be set globally as soon as MPS is available... Maybe if I move it; anyway this is not ideal, I don't want you to lose too much time in tests. Does server 6 have MPS ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it does, but let's focus on the other items first (unifying naming to wnet3d, etc :).
|
@MMathisLab Okay, I tried adding it directly in workers; if this does not work let's save it for when I have an MPS-capable device to test on |
|
|
Just wanted to check in: is this PR still in progress, or is it waiting for review/merge? What’s the current status? |
No description provided.