Is there an existing issue for this?
What happened?
Commit 9e1afa9 "upgraded" Gradio to fix an image dragging problem. This irrevocably broke login (./webui.sh --listen --port 4663 --gradio-auth "username:password" --xformers). I've also struggled mightily to stop AUTOMATIC1111 from automatically "upgrading" me to the latest (nonfunctional) version, going so far as to replace /usr/bin/git with a wrapper script that bans certain commands. :Þ I've also gone so far as to set up a new version of AUTOMATIC1111 from scratch, just to make sure that there was no problem with my local setup (extensions, configurations, etc).
Beyond the inability to log in, a few other things characterize this "upgrade", which make it really obvious whether I'm on a broken version or not.
- The login box is moved to the top of the screen, instead of the centre
- If I have extensions around, they may give error messages when loading
- Attempts to log in may respond in the terminal with various "API error" messages about being "Not authenticated"
My guess would be that there's some version incompatibility issue. Let me know how to query whatever version info you need in venv (I can say off the bat it's Python 3.10). This BTW happened at the same time as all sorts of other people started posting all sorts of related problems, such as gradio looking weird, the frontend not talking with the backend, etc.
Steps to reproduce the problem
See above.
What should have happened?
Login should work.
Commit where the problem happens
9e1afa9
What platforms do you use to access the UI ?
Linux
What browsers do you use to access the UI ?
Google Chrome
Command Line Arguments
List of extensions
None.
Console logs
Ignore the nvinfer/tensorflow errors; I've had them for ages and they don't matter.
A bare minimum log set looks like:
./webui.sh --listen --port 4663 --gradio-auth "stable:diffusion1" --xformers
################################################################
Install script for stable-diffusion + Web UI
Tested on Debian 11 (Bullseye)
################################################################
################################################################
Running on stablediffusion user
################################################################
################################################################
Repo already cloned, using it as install directory
################################################################
################################################################
Create and activate python venv
################################################################
################################################################
Launching launch.py...
################################################################
Python 3.10.10 (main, Feb 8 2023, 00:00:00) [GCC 12.2.1 20221121 (Red Hat 12.2.1-4)]
Commit hash: 9e1afa9eb421ec3c7fa4d972b8f4728f3fb9b210
Installing requirements for Web UI
Launching Web UI with arguments: --listen --port 4663 --gradio-auth stable:diffusion1 --xformers
2023-03-26 18:02:45.390484: 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 18:02:46.080918: 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/local/cuda/lib:/usr/local/cuda/lib64:
2023-03-26 18:02:46.081032: 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/local/cuda/lib:/usr/local/cuda/lib64:
2023-03-26 18:02:46.081042: 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.
Loading weights [6ce0161689] from /path/to/stable-diffusion-webui.raw/models/Stable-diffusion/v1-5-pruned-emaonly.safetensors
Creating model from config: /path/to/stable-diffusion-webui.raw/configs/v1-inference.yaml
LatentDiffusion: Running in eps-prediction mode
DiffusionWrapper has 859.52 M params.
Applying xformers cross attention optimization.
Textual inversion embeddings loaded(0):
Model loaded in 3.6s (create model: 0.4s, apply weights to model: 0.6s, apply half(): 0.4s, load VAE: 1.7s, move model to device: 0.5s).
Running on local URL: http://0.0.0.0:4663
To create a public link, set `share=True` in `launch()`.
Startup time: 10.6s (import gradio: 1.2s, import ldm: 1.8s, other imports: 1.5s, load scripts: 0.6s, load SD checkpoint: 3.8s, create ui: 1.6s).
Additional information
No response
Is there an existing issue for this?
What happened?
Commit 9e1afa9 "upgraded" Gradio to fix an image dragging problem. This irrevocably broke login (./webui.sh --listen --port 4663 --gradio-auth "username:password" --xformers). I've also struggled mightily to stop AUTOMATIC1111 from automatically "upgrading" me to the latest (nonfunctional) version, going so far as to replace /usr/bin/git with a wrapper script that bans certain commands. :Þ I've also gone so far as to set up a new version of AUTOMATIC1111 from scratch, just to make sure that there was no problem with my local setup (extensions, configurations, etc).
Beyond the inability to log in, a few other things characterize this "upgrade", which make it really obvious whether I'm on a broken version or not.
My guess would be that there's some version incompatibility issue. Let me know how to query whatever version info you need in venv (I can say off the bat it's Python 3.10). This BTW happened at the same time as all sorts of other people started posting all sorts of related problems, such as gradio looking weird, the frontend not talking with the backend, etc.
Steps to reproduce the problem
See above.
What should have happened?
Login should work.
Commit where the problem happens
9e1afa9
What platforms do you use to access the UI ?
Linux
What browsers do you use to access the UI ?
Google Chrome
Command Line Arguments
List of extensions
None.
Console logs
Additional information
No response