Engineer-of-Stuff / stable-diffusion-paperspace

Jupyter notebooks for Paperspace.
The Unlicense
289 stars 110 forks source link

About Gradio #117

Closed greeberss closed 6 months ago

greeberss commented 7 months ago

I hear bad things about Gradio, but is it really disconnect after about 10-ish txttoimg generations bad? Almost every time I use the WebUI, I can generate around 10 images before it error connects out, and I have to rerun the launch WebUI block and reinput everything. I think the most I was able to generate before it disconnected was 20-ish.

Edit: A4000 seems to be able to handle a lot more generations, but will still disconnect after 20-40 generations. Is there a way to avoid the disconnecting altogether?

pskl commented 6 months ago

I have the same issue, I think it has something to do with I/O, I noticed that if I disable preview images, limit interactions that would load images from the Gradio UI it delays crashes considerably.

Cyberes commented 6 months ago

What are you using to access your web ui? I use rathole: https://github.com/Engineer-of-Stuff/stable-diffusion-paperspace/issues/49#issuecomment-1368494704

greeberss commented 6 months ago

I use whatever the default is?