stable-diffusion-webui icon indicating copy to clipboard operation
stable-diffusion-webui copied to clipboard

[Bug]: Generate forever freezes, Generate button don't respond

Open kgonia opened this issue 1 year ago • 10 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues and checked the recent builds/commits

What happened?

After few generations UI don't respond anymore and it requires reload. It happens after few generations or during generate forever - at some point it just stop generating new images. There is no info in console.

Steps to reproduce the problem

  1. Go to txt2img
  2. Add prompt
  3. Press generate forever
  4. wait

What should have happened?

If normal usage: It should start generating new image after clicking generate

If generate forever: It should generate images without stopping

Commit where the problem happens

1638fa9a88

What platforms do you use to access the UI ?

Windows

What browsers do you use to access the UI ?

Google Chrome

Command Line Arguments

No

List of extensions

SD-CN-Animation clip-interrogator-ext ddetailer loopback_scaler multidiffusion-upscaler-for-automatic1111 sd-dynamic-thresholding sd-infinity-grid-generator-script sd-webui-controlnet sd-webui-cutoff sd-webui-regional-prompter sd-webui-supermerger sd-webui-text2video sd-webui-tome sd_webui_SAG seed_travel LDSR Lora ScuNET SwinIR prompt-bracket-checker

Console logs

Model loaded in 7.6s (load weights from disk: 1.1s, create model: 0.8s, apply weights to model: 1.2s, apply half(): 0.9s, load VAE: 0.3s, move model to device: 2.1s, load textual inversion embeddings: 1.2s).
100%|██████████████████████████████████████████████████████████████████████████████████| 20/20 [00:12<00:00,  1.64it/s]
Total progress: 100%|██████████████████████████████████████████████████████████████████| 20/20 [00:10<00:00,  1.83it/s]
100%|██████████████████████████████████████████████████████████████████████████████████| 20/20 [00:03<00:00,  5.22it/s]
Total progress: 100%|██████████████████████████████████████████████████████████████████| 20/20 [00:04<00:00,  4.95it/s]
100%|██████████████████████████████████████████████████████████████████████████████████| 20/20 [00:02<00:00,  7.01it/s]
Total progress: 100%|██████████████████████████████████████████████████████████████████| 20/20 [00:02<00:00,  7.35it/s]
100%|██████████████████████████████████████████████████████████████████████████████████| 20/20 [00:02<00:00,  7.26it/s]
Total progress: 100%|██████████████████████████████████████████████████████████████████| 20/20 [00:02<00:00,  7.41it/s]
100%|██████████████████████████████████████████████████████████████████████████████████| 20/20 [00:02<00:00,  7.19it/s]
Total progress: 100%|██████████████████████████████████████████████████████████████████| 20/20 [00:02<00:00,  7.33it/s]
100%|██████████████████████████████████████████████████████████████████████████████████| 20/20 [00:02<00:00,  6.94it/s]
Total progress: 100%|██████████████████████████████████████████████████████████████████| 20/20 [00:02<00:00,  7.44it/s]
100%|██████████████████████████████████████████████████████████████████████████████████| 20/20 [00:02<00:00,  7.00it/s]
Total progress: 100%|██████████████████████████████████████████████████████████████████| 20/20 [00:02<00:00,  7.39it/s]
100%|██████████████████████████████████████████████████████████████████████████████████| 20/20 [00:02<00:00,  7.16it/s]
Total progress: 100%|██████████████████████████████████████████████████████████████████| 20/20 [00:02<00:00,  7.27it/s]
Total progress: 100%|██████████████████████████████████████████████████████████████████| 20/20 [00:02<00:00,  7.68it/s]

Additional information

No response

kgonia avatar May 19 '23 09:05 kgonia

I am having this problem immediately after updating automatic1111. I can make one or two generations, then it just stops, and the console doesn't even show an error. I completely deleted my installation and reinstalled, and the problem persists.

robertJene avatar May 20 '23 01:05 robertJene

@robertJene I reverted A1111 to version: 1.1.1-97-gc8791c1d  checkpoint: 56fb520543 and it's working

some recent changes introduced bug

kgonia avatar May 20 '23 12:05 kgonia

I have not a solution, but having the same problem i might have stumbled on an ignorant workaround

With the PROMPT window active, just press SHIFT+ENTER and it will start

It's like to Generate button becomes unresponsive, but the engine is still going under the hood, hope it helps!

Bromomaster avatar May 20 '23 23:05 Bromomaster

I have not a solution, but having the same problem i might have stumbled on an ignorant workaround

With the PROMPT window active, just press SHIFT+ENTER and it will start

It's like to Generate button becomes unresponsive, but the engine is still going under the hood, hope it helps!

thanks for this, this seems to allow me to at least generate images at the moment, I too, tried uninstalling and reinstalling. Not sure why but can't click on the generate button. SHIFT+ENTER is the only way I can get it to work.

Gcode808 avatar May 21 '23 00:05 Gcode808

@Sakura-Luna If you marked as duplicate it would be nice to link other issue

kgonia avatar May 23 '23 21:05 kgonia

@robertJene I reverted A1111 to version: 1.1.1-97-gc8791c1d  checkpoint: 56fb520543 and it's working

some recent changes introduced bug

SOLUTION FOR ME: I tried going to 1.1.1 after posting my comment, and it didn't fix it. Then I tried on another computer with 1.2.1 and it had no issue. It turned out that 1.2.1 didn't like one of my browser plugins! ~I disabled all the plugins, I am still turning them on one at a time and observing the results

robertJene avatar May 24 '23 00:05 robertJene

Duplicate https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/9085, https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/10491

Sakura-Luna avatar May 24 '23 03:05 Sakura-Luna

+1

Dale007261 avatar May 24 '23 16:05 Dale007261

@robertJene I reverted A1111 to version: 1.1.1-97-gc8791c1d  checkpoint: 56fb520543 and it's working

some recent changes introduced bug

What do we input in the cmd to do this? Beginner here.

DeonHolo avatar May 27 '23 15:05 DeonHolo

Same is happening here, Generate button become unresponsive after changing tabs while in generate forever mode. the interrupt/skip disappears with just generate visible but clicking does nothing, on occasion it will become responsive again by itself right clicking the button shows the "cancel generate forever" for a micro second but too fast to be able to click in it to stop the generations before it disappears

nickr61 avatar May 28 '23 06:05 nickr61

I installed Stable Diffusion to a separate folder, specifying the version 1.1.1. But then I still had the problem. Then I tested on another computer and had no problem. Long story short, I had to narrow it down to the plugins in my browser. I suggest testing in another browser to confirm. If it works in another browser:

  1. turn off all plugins/addons in your browser
  2. Close and reopen the browser and test
  3. Turn on plugins/addons one at a time, close/reopen the browser, test

robertJene avatar Jun 12 '23 16:06 robertJene

Hi, nobody has any solution since June 12,2023 ? I meet exactly the same problem... Has someone talked to Stability AI on Reddit or Github about that issue ? Is someone informed enough about AIs to give any idea of solutions, please ? I look for answers, and all I find here and elsewhere is people who say they meet that issue, but no one give any efficient solution, is there any or SD is simply a forever dead AI ?

Thank you in advance for your answers

ElodiEdina avatar Mar 04 '24 19:03 ElodiEdina