RuntimeError: "LayerNormKernelImpl" not implemented for 'Half' torch
james-see opened this issue · 2 comments
james-see 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.
james-see commented
I would add this to the readme as an example for how to get it working in CPU mode to avoid this error.
kuprel commented
Interesting, I haven't tried float16 with cpu. Thanks for pointing this out