Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I keep getting this error "LayerNormKernellmpl" #43

Open
CuriousLikeMind opened this issue May 14, 2023 · 5 comments
Open

I keep getting this error "LayerNormKernellmpl" #43

CuriousLikeMind opened this issue May 14, 2023 · 5 comments

Comments

@CuriousLikeMind
Copy link

CuriousLikeMind commented May 14, 2023

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
Copy link

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
Copy link
Author

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
Copy link
Author

CuriousLikeMind commented May 15, 2023

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
Copy link

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants