lllyasviel / stable-diffusion-webui-forge

GNU Affero General Public License v3.0
8.65k stars 858 forks source link

[BUG] slow UI reaction at all, one Core is at 100% (confirmed) #867

Open kalle07 opened 4 months ago

kalle07 commented 4 months ago

some kind of slow ,10 times the version before (not the generation)

typing, pushing buttons, set ruse seed (need sometimes 5sec)

omg, you have more changed you want ?!? ;)

GatorsUF commented 4 months ago

The interface does appear to be significantly slower than previous versions, the actual generation is the same or faster but the UI is difficult to navigate. Inpainting is very difficult since the brush is so laggy. That said I appreciate all the hard work lllyasviel is putting into this and I know this is not a finished product, so no complaints here.

Leayal commented 4 months ago

After observing from browser's DevTools, the gradio app (client-side) keeps sending HTTP POST join and a bunch of HTTP GET png images after the join request. And this repeats forever.... (this explains about the full one core usage since the loop repeat without throttle and endlessly)

I think resolve this issue should stop the UI from delaying its state updating (which cause everything slow down beyond tolerance).

Leayal commented 4 months ago

@kalle07 Do you have extension sd-forge-couple installed? If you do, try to remove the extension (not just disable it in settings) and restart Forge and see if the slow down is still persist or not. If there are other third-party or community-made extensions as well, can you try remove/disable them, too. From my side, it seems that any extensions that has a high rate of "state sync" requests will likely degrade the performance of Gradio 4.

Or perhaps wait until all the extensions are updated to be compatible with the new Forge.

kalle07 commented 4 months ago

thx,

no, i have only reactor and supermerger and they fail to load at start ^^

Leayal commented 4 months ago

These are the built-in extensions that I've also disabled (because I didn't really need them):

Aside from those above, I don't know what else could cause extreme slow down. I definitely have the same experience as old Forge without slow down right now but I don't even know what I did to address it...

RJSprod commented 4 months ago

Just loaded forge from fresh install after a long hiatus, and the UI is preforming very laggy. Generation seems to not be impacted.

Edit: Just opening the tab with forge UI makes my CPU idle at 30%, where otherwise it idles at <5%.

hkpD commented 4 months ago

New UI makes my user interface very laggy and it uses my CPU a lot more than it should. I had to revert back to "a9e0c387" and now my issue seems to be resolved.