-
Notifications
You must be signed in to change notification settings - Fork 27.5k
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
On the problem that the same resolution can not be generated stably #2293
Comments
Probably something in your system uses GPU resources too. Try this:
|
Actually, I started webui when I turned on my computer, At that time, there was no software that occupied memory or video memory. but it didn't work. Still can't generate pictures. As for the choice of browser, I'm using edge now, and I can't generate such a picture without enable the hardware acceleration, that is, nothing has changed, which is why I feel very puzzled. |
@RokiRokiPoi ..What you said above is strange, you cannot turn off hardware acceleration in the browser? Try a different one, I can disable this on Brave browser. |
You can check how much vram you have available by using nvidia-smi command and reading the output You may have better luck using the low ram setting mentioned by others earlier. In my setup it uses a lot more than 4gb of ram with no optimizations: Torch active/reserved: 8835/11526 MiB, Sys VRAM: 11458/24576 MiB (46.62%) I can try your prompt if you share the txt generator for it. |
@ClashSAN |
OK, I found the problem:--no-half, delete--no-half. I can generate 1600 900 images (although many of them are black image). |
But you stated you have GTX 3060 6Gb, it should not matter. You don't need no-half here.
Personally, I merged WD with itself, saving as float 16 with that checkbox in merging tab – and it gave more lightweight file. |
@aleksusklim
I will upload those two pictures later, with the same tag and the same parameters but different results. |
--no-half tells the model to use full precision numbers in memory instead of half precision which require less memory. The issue is that some cards do not support half precision like the GTX1650 IIRC. Did you disable censorship? black images normally result if you create a NSFW image and did not tell the generator that NSFW was ok for you. |
no,i never generate the nsfw image Turn off nohalf, my black image generation rate is much higher. |
No half does disable an optimization. using half is faster. You only want to disable half if the gpu does not support it. |
the images I see from your exact prompt are not even close in style to what you posted - how did you manage to get that with just 20 steps? |
@RokiRokiPoi xformers will nearly double your previous batch count, inferring it doubles available vram. so yes, very helpful it would auto-install and enable for you automatically. add to commandline args:
also turn off the censorship and see if there's a difference |
Lycoris loading on Diffusers Backend
* add support for animal pose * Update __init__.py * fix typo * flatten json result list * format files * remove unused functions * 🚧 Support edit * nits * fix test expecetations --------- Co-authored-by: huchenlei <[email protected]>
When I use stable diffusion webui, I can generate 1600 896 images, but this is unstable, and black images usually appear. Besides, if I restart webui-user.bat, I may not be able to generate 1600 896 images.
I want to know why, if I can generate such a picture, why I can't generate it again because I restart it.If I really need to generate such a picture, what should I do to help me realize it?
This is a 1600 960 resolution picture that I once generated.
I am waiting for your reply.Please solve my problem.
The text was updated successfully, but these errors were encountered: