Hentai-Diffusion icon indicating copy to clipboard operation
Hentai-Diffusion copied to clipboard

I keep getting this error "LayerNormKernellmpl"

Open CuriousLikeMind opened this issue 1 year ago • 5 comments

Hello! I got it running, eventually after a grueling forever... and now there's just one obstacle, and that is this error, " RuntimeError: "LayerNormKernelImpl" not implemented for 'Half' " whenever I press generate the image based on my prompts "1girl, anime" as a test. Don't know if I am going to receive any aid, so I am bracing myself for the long wait.

CuriousLikeMind avatar May 14 '23 13:05 CuriousLikeMind

Try adding "--precision full --no-half" to the command line arguments and see if that helps. Also just to make sure, you are using an Nvidia card right?

Kuroseji avatar May 14 '23 18:05 Kuroseji

I didn't put one on my laptop, so I am guessing that I will have too switch to my PC that does have one. I will have to reinstall everything again, which is a pain in my ass, which I will do tomorrow. I'll keep you updated how that goes.

CuriousLikeMind avatar May 15 '23 11:05 CuriousLikeMind

Nvm, ignore that message as despite my lack of a Nvidia card ( I think ), it worked. A little slower indicated by the logs, and the first time didn't work (probably due to not adding a style). But worked the second time. Just curious, is it healthy for my laptop to run stable diffusion if I don't have the correct graphics card to run it?

CuriousLikeMind avatar May 15 '23 12:05 CuriousLikeMind

Assuming that you keep the laptop in a place with good ventilation you should be fine. As long as you don't actively generate images for hours the temperatures I don't think the stress on your machine will be too much. Of course I'm just a random internet person so use your judgment lol.

Kuroseji avatar May 15 '23 13:05 Kuroseji

Alrighty, thanks a bunch. I think this problem has been resolved now.

CuriousLikeMind avatar May 15 '23 22:05 CuriousLikeMind