kuprel/min-dalle

RuntimeError: "LayerNormKernelImpl" not implemented for 'Half' torch

james-see opened this issue · 2 comments

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.

I would add this to the readme as an example for how to get it working in CPU mode to avoid this error.

Interesting, I haven't tried float16 with cpu. Thanks for pointing this out