-
Notifications
You must be signed in to change notification settings - Fork 15
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
XPU and MPS support #127
Comments
Looks like there is some XPU info in the C++ docs on pytorch: https://pytorch.org/cppdocs/api/dir_c10.html#dir-c10 |
Sorry for not sharing more about what I've looked into on the XPU side. I would have liked to see if I could at least do something with the basic Intel extension that in theory I could run on CPU, which is probably a sensible first step, but I've had no time. What I'd had found so far: From PyTorch: From Intel:
The My initial thoughts for changes we would need were something along the lines of an
I can't check right now, but I think finding the package worked ok, but I was getting errors linking, I think related to glibc versions. |
It's not immediately completely clear exactly how it fits in with My initial reading is that I may have misunderstood, though. |
It seems like PyTorch now provides binaries built for xpu support from 2.5.0 onwards (as of 28th October, 2.5.1 has been released). Installation on Dawn. Allocate a node as usual:
This fails as follows:
This suggests that The previous is one option that needs to be checked. Perhaps there is an easier approach? |
@ElliottKasoar has done some work to use the MPS backend on apple silicon in #125
He has also started similar efforts to add XPU support on the intel GPU devices, but this may take more work if the backend isn't currently part of Torch.
@christopheredsall and @ma595 have offered to look at this on Dawn.
The text was updated successfully, but these errors were encountered: