Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

In some cases there are operations not supported on mps. For those set:

os.environ["PYTORCH_ENABLE_MPS_FALLBACK"] = "1"

and it will run on cpu if some operation isn't supported



Excellent! Thanks




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: