RuntimeError: "LayerNormKernelImpl" not implemented for 'Half' torch
james-see opened this issue · comments
JC commented
Using cpu on Mac M1 I came across this error. It appears that to fix it, you need to make sure that the dtype is float32.
JC commented
I would add this to the readme as an example for how to get it working in CPU mode to avoid this error.
Brett Kuprel commented
Interesting, I haven't tried float16 with cpu. Thanks for pointing this out