Open agoransson opened 1 month ago
I'm not getting the same issues running this on colab. There it seems to run perfectly, so definitely related to Apple Silicon.
Yeah, that error message seems to be specific to the mps
(Metal Performance Shaders) backend. Unfortunately, I won't be much help there. The last Mac I owned was from 2009.
I get it at different batches in the first epoch, not always the same. But around 70-80% progress iof the first batch it seems.
I continue the process after this failure, hoping to get somewhere with the model. When I eventually run the following code block:
I get this error. It seems mostly connected to failure to pass both the model and input to the device (mps) - but as far as I can see in the code both are already passed to device.
Would you know how to handle such an issue? Or is it again a problem with MPS support?