Skip to content
This repository has been archived by the owner on Jul 26, 2023. It is now read-only.

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

Open
1 task done
exo-pla-net opened this issue Sep 3, 2022 · 9 comments
Open
1 task done

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

exo-pla-net opened this issue Sep 3, 2022 · 9 comments
Labels
bug Something isn't working

Comments

@exo-pla-net
Copy link

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

  • I agree to follow this project's Code of Conduct
@exo-pla-net exo-pla-net added the bug Something isn't working label Sep 3, 2022
@altryne
Copy link
Owner

altryne commented Sep 3, 2022

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)

@Yishaqel
Copy link

Yishaqel commented Sep 3, 2022

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 :/

@exo-pla-net
Copy link
Author

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
Copy link
Author

Enabling "skip_grid" does not fix the problem.

@miralkashiwagi
Copy link

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....

@denizbinay
Copy link

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

@Asmageddon
Copy link

The same happens to me across different browsers.

@fabwa
Copy link

fabwa commented Sep 30, 2022

same here

@Asmageddon
Copy link

I was able to workaround this problem with this solution: AUTOMATIC1111/stable-diffusion-webui#344

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

7 participants