stable-diffusion-webui icon indicating copy to clipboard operation
stable-diffusion-webui copied to clipboard

[Bug]: not working at all

Open abdellatif-temsamani opened this issue 1 year ago • 7 comments

Checklist

  • [ ] The issue exists after disabling all extensions
  • [X] The issue exists on a clean installation of webui
  • [ ] The issue is caused by an extension, but I believe it is caused by a bug in the webui
  • [X] The issue exists in the current version of the webui
  • [ ] The issue has not been reported before recently
  • [X] The issue has been reported before but has not been fixed yet

What happened?

nothing is generating

Steps to reproduce the problem

  1. start server from the dev branch
  2. type the prompt example: cat
  3. click on generate

nothing happens for 3 mins

What should have happened?

webui should generate the image

What browsers do you use to access the UI ?

Mozilla Firefox, Brave

Sysinfo

sysinfo-2024-01-25-13-25.json

Console logs

on archlinux ./stable-diffusion-webui on  dev via  v0.0.0
via  v21.6.0 via 🐍 v3.11.6 (venv) ❮ ./webui.sh

################################################################
Install script for stable-diffusion + Web UI
Tested on Debian 11 (Bullseye), Fedora 34+ and openSUSE Leap 15.4 or newer.
################################################################

################################################################
Running on flagmate user
################################################################

################################################################
Repo already cloned, using it as install directory
################################################################

################################################################
python venv already activate or run without venv: /home/flagmate/Desktop/.ai/stable-diffusion-webui/venv
################################################################

################################################################
Launching launch.py...
################################################################
Using TCMalloc: libtcmalloc_minimal.so.4
libtcmalloc_minimal.so.4 is not linked with libpthreadand will trigger undefined symbol: ptthread_Key_Create error
Using TCMalloc: libtcmalloc.so.4
libtcmalloc.so.4 is not linked with libpthreadand will trigger undefined symbol: ptthread_Key_Create error
Python 3.11.6 (main, Nov 14 2023, 09:36:21) [GCC 13.2.1 20230801]
Version: v1.7.0-417-g19c95de8
Commit hash: 19c95de8eb6a1226f0cd1aaeaa9768cf3cbfdef9
Launching Web UI with arguments:
No module 'xformers'. Proceeding without it.
Loading weights [6ce0161689] from /home/flagmate/Desktop/.ai/stable-diffusion-webui/models/Stable-diffusion/v1-5-pruned-emaonly.safetensors
Creating model from config: /home/flagmate/Desktop/.ai/stable-diffusion-webui/configs/v1-inference.yaml
Running on local URL:  http://127.0.0.1:7860

To create a public link, set `share=True` in `launch()`.
Startup time: 5.9s (prepare environment: 1.1s, import torch: 1.8s, import gradio: 0.6s, setup paths: 1.0s, initialize shared: 0.1s, other imports: 0.3s, load scripts: 0.3s, create ui: 0.4s, gradio launch: 0.2s).
Opening in existing browser session.
Applying attention optimization: Doggettx... done.
Model loaded in 2.5s (load weights from disk: 0.6s, create model: 0.2s, apply weights to model: 1.2s, load textual inversion embeddings: 0.2s, calculate empty prompt: 0.2s).

Additional information

i'm on arch linux i updated my system including:

  • python
  • nvidia drivers
python --version
# Python 3.11.6

## nivdia drivers 
# nvidia-dkms 545.29.06-1
# nvidia-utils 545.29.06-1

abdellatif-temsamani avatar Jan 25 '24 13:01 abdellatif-temsamani

Try running with --debug to see more info about why it's not working.

Iaotle avatar Jan 26 '24 20:01 Iaotle

image

abdellatif-temsamani avatar Jan 27 '24 11:01 abdellatif-temsamani

Can replicate also on Arch linux.

API works fine, so this is likely an issue with the UI.

carterprince avatar Jan 27 '24 13:01 carterprince

Same on Arch. Its a frontend issue basically i get this error in the console log each time i hit the submit button:

Uncaught (in promise) ReferenceError: applyExtraNetworkFilter is not defined Uncaught (in promise) ReferenceError: submit is not defined

Also i noticed that a bunch of .js and .css files are not loaded.

kép

API works fine, i can generate images with cURL ;)

Update: im on commit cf2772fab0af5573da775e7437e6acdca424f26e

Update2: Reinstalled venv, issue still the same

bayi avatar Feb 02 '24 01:02 bayi

is there anyway to fix it

abdellatif-temsamani avatar Feb 04 '24 17:02 abdellatif-temsamani

What i did - and this is just a workaround not a fix, but kinda works for me - i switched to the gradio4 branch, it has some quirks but its working for me for now.

bayi avatar Feb 04 '24 20:02 bayi

this seems to be a duplicate of #13133 https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/13133#issuecomment-1712846328 has a solution

mcDevnagh avatar Feb 26 '24 16:02 mcDevnagh

it worked me

abdellatif-temsamani avatar Mar 07 '24 12:03 abdellatif-temsamani