Open AelecTi opened 1 year ago
Same thing. I was on this version https://github.com/AUTOMATIC1111/stable-diffusion-webui/commit/22bcc7be428c94e9408f589966c2040187245d81
Then I updated to dev but it broke other stuff for me so I didn't have time to test if it was fully fixed. Then I tried master branch, same glitch with some other stuff so couldn't stay.
Now I'm back to this because it was my last confirmed setup (google drive with colab) but this issue makes it unusable. You have to refresh after every try, and even then 80% of the time it breaks on first click.
python: 3.10.11 • torch: 2.0.1+cu118 • xformers: 0.0.20 • gradio: 3.23.0 • commit: 22bcc7be
Is there a commit or update that has since addressed this? Maybe the latest gradio version?
Tried diff browser, didn't help. Gonna update gradio to 3.33.1.
Updating to 3.33.1 turns my entire ui into white and functionality becomes too weird, so that's not a proper solution for my setup sadly.
@AelecTi really similar to my case here https://github.com/vladmandic/automatic/issues/833#issuecomment-1561204667
Vlad explained what caused the problem and a fix. It works for me on his SD fork. (but haven't try on A1111 sd yet)
@AelecTi really similar to my case here vladmandic#833 (comment)
Vlad explained what caused the problem and a fix. It works for me on his SD fork. (but haven't try on A1111 sd yet)
Thanks for your reply! I can't find the parameter --disable-queue
. I will try --no-gradio-queue
instead.
One thing to take note of is camenduru said that websocket is required for colab instances so it might not work out well (unless something changed since then)
not sure about kaggle tho
The situation gets better with parameter --no-gradio-queue
. However, when playing around in i2i tabs, there is still a big chance the entire webui stop responding, the gradio interface will just loads forever. I can only restart the whole ui from the online terminal.
It seems when I upload some picture and immediately click something else, 9 in10 times the page will stop responding. img2img is basicly unusable as I have to pray before every generation attempt.
@AelecTi I'm not really sure what's going on exactly but you can try Vlad's SD fork for now. (and try --disable-queue) or you can go back to the stable built of A1111 like a9eef1f by using git checkout command
For maximum speed in a9eef1f, install torch 2.0 and use SDP cross optimization >> https://www.youtube.com/watch?v=JluH7Wc-EyA (do not use -xformers, just enable only sdp by add --opt-sdp-attention ) (also edit accelerate version in 2 txt. look it at vdo description) and manually install ToMe (optional)
Even if this build was like 3 months ago, its' speed is still a beast by torch 2.0 + sdp
Is there an existing issue for this?
What happened?
Using WebUI in kaggle.
Go to i2i, upload a picture, set up the parameters and click "generate". The UI will show "Waiting" but in the terminal nothing will show up. After a while (10~30s) the generate button will be back but won't responds to clicks anymore. Even worse, the interface will become unaccessable after these steps. Restarting the UI multiple times seems to have a chance to fix this problem for one or two i2i generations.
Steps to reproduce the problem
What should have happened?
Just like running in the local environment.
Commit where the problem happens
b6af0a3
What Python version are you running on ?
Python 3.10.x
What platforms do you use to access the UI ?
Linux
What device are you running WebUI on?
Nvidia GPUs (RTX 20 above)
What browsers do you use to access the UI ?
Google Chrome
Command Line Arguments
List of extensions
ultimate-upscale-for-automatic1111 sd-webui-controlnet
Console logs
Additional information
No response