5 ms·
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.
by johnfn 4y ago
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.
- nathas 4y agoYeah. Try running with PYTORCH_ENABLE_MPS_FALLBACK=1 <script> --full-precision
- bfirsh 4y agoAre you running macOS >=12.3?
- johnfn 4y agoOh, no I'm not, I'm on 12.0. Does this make a difference?
- johnfn 4y agoUpdate: I solved this error more properly by upgrading to the latest version. Thanks bfirsh.