lllyasviel / stable-diffusion-webui-forge

GNU Affero General Public License v3.0
7.38k stars 715 forks source link

Using "Generate forever" results in the inability to stop generating, even if cancelled. #1681

Open pflky opened 1 week ago

pflky commented 1 week ago

Screenshot_4

There are no visible console issues reported, it just does not stop generating. As you can see from the screenshot, the status bar output itself is glitched, with multiple layers of text overlayed onto it. This happens after several generations when generate forever is activated. Possibly also if you have a generation taking place while the webui is minimized. It is not a glitch that happens sometimes, but every time generate forever is used. If you cancel the generate forever, it will continue generating with no more status bar updates, but the image gallery will update.

This probably combines with another issue using generate forever, where even if you change the prompt between generations, it will continue using the original prompt and settings when you first started using generate forever. So basically once you start using generate forever and don't de-activate it before this glitch appears, you are locked in. Pressing F5 to reload the UI no longer works either. The only way to stop generating is to completely close Forge.

altoiddealer commented 1 week ago

Noticed this too

chilli877 commented 1 week ago

here too

GreenCauldron08 commented 5 days ago

Me too. Hope this gets solved soon.

altoiddealer commented 4 days ago

Seems like if you Right click > Cancel Generate Forever...

...then do it again after the button changes to the normal "Generate" (right click again > Cancel Generate Forever), it will then actually cancel it.

Edit I'm actually having trouble reproducing this now. It does act up a bit if pressing "Interrupt" before trying to "Stop", but it seems to sort itself out.

I don't know if this is related or not, but I noticed that (with all extensions disabled) there is this debug spam in the Console.

This error does not occur in A1111

Screenshot 2024-09-11 093740

GreenCauldron08 commented 1 day ago

Seems like if you Right click > Cancel Generate Forever...

...then do it again after the button changes to the normal "Generate" (right click again > Cancel Generate Forever), it will then actually cancel it.

This works sometimes for me, but not always.