Delcos / Hentai-Diffusion

The official place for the best A.I.
225 stars 19 forks source link

I keep getting this error "LayerNormKernellmpl" #43

Open CuriousLikeMind opened 1 year ago

CuriousLikeMind commented 1 year ago

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.

Kuroseji commented 1 year ago

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?

CuriousLikeMind commented 1 year ago

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 commented 1 year ago

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?

Kuroseji commented 1 year ago

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.

CuriousLikeMind commented 1 year ago

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