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

Hm, when I run the example, I get this error:

> expected scalar type BFloat16 but found Float

Has anyone seen this error? It's pretty hard to google for.



Yeah. Try running with PYTORCH_ENABLE_MPS_FALLBACK=1 <script> --full-precision


For me `--full-precision` kept erroring out, but `--precision full` worked correctly.


This worked!


Update: I solved this error more properly by upgrading to the latest version. Thanks bfirsh.


I am having the same issue on MacOS 12.2.1 (21D62); Python 3.10.6 What did you upgrade to solve this? Thanks! (I can get it working with `--precision full`)


I'm now on 12.5.1


Are you running macOS >=12.3?


Oh, no I'm not, I'm on 12.0. Does this make a difference?




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

Search: