Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Broken WebUI, models and Settings are uneditable, sometimes frozen the Generate Button on Google Colab #8987

Open
1 task done
Rendai09 opened this issue Mar 26, 2023 · 7 comments
Labels
bug-report Report of a bug, yet to be confirmed

Comments

@Rendai09
Copy link

Rendai09 commented Mar 26, 2023

Is there an existing issue for this?

  • I have searched the existing issues and checked the recent builds/commits

What happened?

This happens when we used new Gradio 3.23 version, cause the setting and models tab loading overtime.
Is there a way to fix this bug or down the gradio version on Google Colab?

image

Steps to reproduce the problem

  1. Basic Setup For Stable Diffusion and Model Download on My Google Colab
  2. Start Stable Diffusion and use Gradio Live Server
  3. Errors happens

What should have happened?

The WebUi has to be usable not loading overtime

Commit where the problem happens

I don't know, there is no error in script loading

What platforms do you use to access the UI ?

Windows

What browsers do you use to access the UI ?

Google Chrome

Command Line Arguments

"--share --gradio-debug --no-half-vae"

List of extensions

https://github.com/AlUlkesh/stable-diffusion-webui-images-browser.git
https://github.com/DominikDoom/a1111-sd-webui-tagcomplete
https://github.com/Malisius/booru2prompt
https://github.com/animerl/novelai-2-local-prompt
https://github.com/kohya-ss/sd-webui-additional-networks

Console logs

/content/stable-diffusion-webui
Already up to date.
Drive already mounted at /content/drive; to attempt to forcibly remount, call drive.mount("/content/drive", force_remount=True).
Python 3.9.16 (main, Dec  7 2022, 01:11:51) 
[GCC 9.4.0]
Commit hash: 4c1ad743e3baf1246db0711aa0107debf036a12b
Installing requirements for Web UI
Launching Web UI with arguments: --share --gradio-debug --no-half-vae --vae-dir /content/stable-diffusion-webui/models/Stable-diffusion/anime.vae.pt
2023-03-26 14:27:09.525930: I tensorflow/core/platform/cpu_feature_guard.cc:193] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations:  AVX2 AVX512F FMA
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2023-03-26 14:27:11.896706: W tensorflow/compiler/xla/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libnvinfer.so.7'; dlerror: libnvinfer.so.7: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /usr/lib64-nvidia
2023-03-26 14:27:11.896868: W tensorflow/compiler/xla/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libnvinfer_plugin.so.7'; dlerror: libnvinfer_plugin.so.7: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /usr/lib64-nvidia
2023-03-26 14:27:11.896891: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Cannot dlopen some TensorRT libraries. If you would like to use Nvidia GPU with TensorRT, please make sure the missing libraries mentioned above are installed properly.
No module 'xformers'. Proceeding without it.
Loading weights [89d59c3dde] from /content/stable-diffusion-webui/models/Stable-diffusion/nai.ckpt
Creating model from config: /content/stable-diffusion-webui/models/Stable-diffusion/nai.yaml
LatentDiffusion: Running in eps-prediction mode
DiffusionWrapper has 859.52 M params.
Loading VAE weights specified in settings: /content/stable-diffusion-webui/models/Stable-diffusion/anime.vae.pt
Applying cross attention optimization (Doggettx).
Textual inversion embeddings loaded(0): 
Model loaded in 29.2s (load weights from disk: 15.7s, create model: 0.8s, apply weights to model: 1.9s, apply half(): 1.0s, load VAE: 9.0s, move model to device: 0.7s).
Running on local URL:  http://127.0.0.1:7860
Running on public URL: https://57f685c318ba566165.gradio.live

Additional information

I have reported this bug before, but that was different bug and didn't have anything with this bug. So I reported again with unknown reason

@Rendai09 Rendai09 added the bug-report Report of a bug, yet to be confirmed label Mar 26, 2023
@HWiese1980
Copy link

Same on my local installation! Something went terribly wrong in the latest updates. I hope they're going to fix these issues soon.

@space-nuko
Copy link
Contributor

https://github.com/AlUlkesh/stable-diffusion-webui-images-browser.git

This extension may be the culprit, see #8895 (comment), either disable or update it and see if it helps

And look at AlUlkesh/stable-diffusion-webui-images-browser#100 for more updates

@HWiese1980
Copy link

It helps a little, but there's still a lot broken. UI simply stops doing anything in way too many situations. There are also a lot of javascript errors going on in the developer console.

@aleimu
Copy link

aleimu commented Mar 28, 2023

+1

@acgrid
Copy link

acgrid commented Mar 28, 2023

Same here if updated to newer gradio.
There may be some incompatible problems for extensions related to gradio. Disabling extensions (especially additional-networks, batchlinks-webui, civitai helper, etc...) will work.
I checked the websocket messaging join got stuck after one round of request and response.

@dli77
Copy link

dli77 commented Mar 28, 2023

same here, when I open the local url it shows a bunch of errors and a message saying "Something went wrong
Expecting value: line 1 column 1 (char 0)". Any clue how to fix this?

@Ieunn
Copy link

Ieunn commented Mar 28, 2023

same here, when I open the local url it shows a bunch of errors and a message saying "Something went wrong Expecting value: line 1 column 1 (char 0)". Any clue how to fix this?

I got exactly the same error prompt as you met, except I didn't have any error messages in my console but the same log as reporter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-report Report of a bug, yet to be confirmed
Projects
None yet
Development

No branches or pull requests

7 participants