Any plans to support Apple Silicon GPUs? #206
Replies: 2 comments 1 reply
-
Hello, Sorry for the late reply. We regret to inform you that we do not currently have plans to support the integration of LightZero with Metal Performance Shaders (MPS). We will keep a close eye on the development and adoption of MPS and consider providing support once its maturity has increased. If you are willing to attempt adapting LightZero to MPS and submit a Pull Request, we would be immensely appreciative. If you encounter data type mismatch issues when attempting to use the 'mps' device for Tensor operations, here are several potential solutions (partially provided by GPT4):
Should you have any questions or require further discussion, feel free to continue the conversation here. Best wishes. |
Beta Was this translation helpful? Give feedback.
-
I've tested mps with muzero, and found it's working. if you set like below in lzero/entry/train_muzero.py, it works with mps
|
Beta Was this translation helpful? Give feedback.
-
I know that Torch added support for Apple silicon (device = 'mps'). I tried naively using this in a few places, but got some type mismatches between native Tensor types and MPSTensor. I thought I would check here if there were any plans to support this before I spent too much time playing with it.
Beta Was this translation helpful? Give feedback.
All reactions