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

UI crash with recent updates

Open jnpatrick99 opened this issue 3 years ago • 3 comments
trafficstars

Describe the bug Started to happen today after all recent updates (updated Gradio etc). After 5-6 renders and changing of prompts the UI (Gradio backend?) stops responding. There are no messages in the command line, nothing visually crashed in the command prompt but HTTP is no longer available.

It mostly happens after negative prompt editing, I think.

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser Chome (latest)
  • Commit revision [looks like this: be1596ce30b1ead6998da0c62003003dcce5eb2c

jnpatrick99 avatar Oct 16 '22 01:10 jnpatrick99

Yes, same thing here. Even on Colab and Paperspace...

Communication just stops for some things and eventually for everything. When it gets stuck generating an image, on the console everything still works just fine, but the browser won't send further requests neither receive data on the tab where it got stuck until reloaded. Changing to another tab and doing something else works but eventually the same thing happens there and so on.

For training it's not that big of a deal but sometimes it just freezes on every try to generate an image after reloading the page everytime.

AkariPPG avatar Oct 16 '22 06:10 AkariPPG

I restarted computer and the problem seems to have gone away!

jnpatrick99 avatar Oct 16 '22 08:10 jnpatrick99

This has always been a thing, your browser must be choking on the size of the PNGs returned by SD. If it for some reason can not load the PNG into the preview box, the entire tab is useless and requires a refresh.

precompute avatar Oct 16 '22 08:10 precompute

This has always been a thing, your browser must be choking on the size of the PNGs returned by SD. If it for some reason can not load the PNG into the preview box, the entire tab is useless and requires a refresh.

Yeah I experienced this for a long time with previous Gradio versions (UI backend that this repo is using). So in hopes it's fixed in new version I updated. Well on my end it now works much faster. But the first time I ran it, was experiencing a lot of problems with total freezing of UI.

jnpatrick99 avatar Oct 16 '22 18:10 jnpatrick99

Probably fixed by gradio team https://github.com/gradio-app/gradio/issues/2260

mezotaken avatar Jan 17 '23 09:01 mezotaken