sd-webui-colab icon indicating copy to clipboard operation
sd-webui-colab copied to clipboard

[Bug]: Generation hangs forever when batch size > 1

Open exo-pla-net opened this issue 1 year ago • 9 comments

What happened?

The timer keeps counting up forever, with the loading gif spinning. No errors. No image displayed.

Version

0.0.1 (Default)

What browsers are you seeing the problem on?

No response

Where are you running the webui?

No response

Custom settings

No response

Relevant log output

No response

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

exo-pla-net avatar Sep 03 '22 21:09 exo-pla-net

Were the images added to the output directory? Usually the UI hangs and there are no errors, especially in colab (when the free version disconnects)

altryne avatar Sep 03 '22 21:09 altryne

This morning the refresh button was working correctly, now it just keeps loading, I don't know if it is a gradio problem but it is very frustrating :/

Yishaqel avatar Sep 03 '22 21:09 Yishaqel

Were the images added to the output directory?

The individual images were added to "samples", but the grid containing said images was not added to /output.

This is the final thing printed while it hangs:

`Iteration: 1/1 [MemMon] Recording max memory usage...

100% 16/16 [00:09<00:00, 1.61it/s]`

I'm using Pro, and Colab remains connected.

exo-pla-net avatar Sep 03 '22 21:09 exo-pla-net

Enabling "skip_grid" does not fix the problem.

exo-pla-net avatar Sep 03 '22 23:09 exo-pla-net

My problem may be the same.

When I use ESRGAN, the timer keeps running. Console of Chrome shows the following error:

Failed to load resource: net::ERR_HTTP2_PROTOCOL_ERROR
Uncaught (in promise) TypeError: Failed to fetch

This is the same for text2img and img2img. It happens when I use ESRGAN. Sometimes it works fine....

miralkashiwagi avatar Sep 03 '22 23:09 miralkashiwagi

The same error occurs here as well. It occurs mainly at higher resolutions. For me often at 1024x1024, even with skip_grid. The images were always saved. But I have to reload the app and reenter all data again.

POST https://21182.gradio.app/api/predict/ net::ERR_HTTP2_PROTOCOL_ERROR 200 Uncaught (in promise) TypeError: Failed to fetch

denizbinay avatar Sep 07 '22 19:09 denizbinay

The same happens to me across different browsers.

Asmageddon avatar Sep 08 '22 16:09 Asmageddon

same here

fabwa avatar Sep 30 '22 13:09 fabwa

I was able to workaround this problem with this solution: https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/344

Asmageddon avatar Oct 02 '22 09:10 Asmageddon