kuprel / min-dalle

min(DALL·E) is a fast, minimal port of DALL·E Mini to PyTorch

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

james-see opened this issue · comments

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.

commented

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