Linux-StableDiffusion-Script icon indicating copy to clipboard operation
Linux-StableDiffusion-Script copied to clipboard

streamlit freezes Ubuntu 22.04, Gradio loops :(

Open j2l opened this issue 3 years ago • 0 comments

Hello, I use to run HG Diffuser fine from the CLI and wanted to give this install a try, so I installed Anaconda instead of miniconda, etc. Install was smooth and webui.sh offers to start streamlit or gradio. streamlit webUI is running OK, but as soon as I try to generate, it holds its breathe forever, even mouse and seconds on the clock are frozen, and I have to reboot the PC. in the CLI, latest messages are:

working with z of shape (1.4.32.32) = 4096 dimensions
makinf attention of type 'vanilla' with 512 in_channels

here are my settings in streamlit: Screenshot from 2022-10-10 14-10-48 as you can see I hava a RTX 3060with 12GB VRAM. Works well with Diffuser

Gradio throws:

Starting Stable Diffusion WebUI: Gradio Interface. Please Wait...
Relauncher: Launching...
Traceback (most recent call last):
  File "scripts/webui.py", line 22, in <module>
    from frontend.frontend import draw_gradio_ui
ModuleNotFoundError: No module named 'frontend'
Relauncher: Process is ending. Relaunching in 1s...
	Relaunch count: 1

while frontend/frontend.py is present

Any idea?

j2l avatar Oct 10 '22 11:10 j2l