Mikubill / sd-webui-controlnet

WebUI extension for ControlNet
GNU General Public License v3.0
16.89k stars 1.94k forks source link

[Bug]: sd-webui-controlnet neverending install #2663

Open EKI-INDRADI opened 7 months ago

EKI-INDRADI commented 7 months ago

Is there an existing issue for this?

What happened?

OS : Windows 10 64 Pro GPU : NVIDIA RTX 3080 10GB , RTX 3060 12GB

STEP :

stable diffusion version 1.7 (https://github.com/AUTOMATIC1111/stable-diffusion-webui/releases/tag/v1.7.0) all tools & depedency already installed & fresh install stable diffusion

sd-webui-controlnet | 679b6279 | 2024-02-19 09:52:46


conda create -n sd_1.7 python=3.10.6
conda activate sd_1.7
webui-user.bat

CTRL+C


conda activate sd_1.7
pip install xformers==0.0.20

edit webui-user.bat


set COMMANDLINE_ARGS=--xformers

run stable diffusion


webui-user.bat

Steps to reproduce the problem

GRADIO LOADING NEVERENDING

image


Running on local URL:  http://127.0.0.1:7860

To create a public link, set `share=True` in `launch()`.
Creating model from config: V:\STABLE_DIFFUSION\AUTOMATIC1111\stable-diffusion-webui-1.7.0\configs\v1-inference.yaml
Startup time: 17.3s (prepare environment: 9.1s, import torch: 3.4s, import gradio: 0.9s, setup paths: 0.9s, initialize shared: 0.2s, other imports: 0.5s, load scripts: 1.0s, create ui: 0.5s, gradio launch: 0.5s).
Applying attention optimization: xformers... done.
Model loaded in 3.8s (load weights from disk: 0.7s, create model: 0.3s, apply weights to model: 2.5s, calculate empty prompt: 0.1s).
Installing sd-webui-controlnet requirement: handrefinerportable
Installing sd-webui-controlnet requirement: depth_anything

What should have happened?

i think issue at depedency handrefinerportable & depth_anything , loading never ending

Commit where the problem happens

webui: controlnet:

What browsers do you use to access the UI ?

Google Chrome

Command Line Arguments

--xformers

List of enabled extensions

sd-webui-controlnet

Console logs

Running on local URL:  http://127.0.0.1:7860

To create a public link, set `share=True` in `launch()`.
Creating model from config: V:\STABLE_DIFFUSION\AUTOMATIC1111\stable-diffusion-webui-1.7.0\configs\v1-inference.yaml
Startup time: 17.3s (prepare environment: 9.1s, import torch: 3.4s, import gradio: 0.9s, setup paths: 0.9s, initialize shared: 0.2s, other imports: 0.5s, load scripts: 1.0s, create ui: 0.5s, gradio launch: 0.5s).
Applying attention optimization: xformers... done.
Model loaded in 3.8s (load weights from disk: 0.7s, create model: 0.3s, apply weights to model: 2.5s, calculate empty prompt: 0.1s).
Installing sd-webui-controlnet requirement: handrefinerportable
Installing sd-webui-controlnet requirement: depth_anything

Additional information

i think issue at depedency handrefinerportable & depth_anything & neverending for stable diffusion 1.7

EKI-INDRADI commented 7 months ago

SOLVED

DELETE MANUALLY ./extensions/sd-webui-controlnet

RUN STABLE DIFFUSION

EXTENTION -> INSTALL FROM URL : https://github.com/Mikubill/sd-webui-controlnet

APPLY RESTART

NOTE :

679b6279 | 2024-02-19 09:52:46

steamch commented 7 months ago

SOLVED

DELETE MANUALLY ./extensions/sd-webui-controlnet

RUN STABLE DIFFUSION

EXTENTION -> INSTALL FROM URL : https://github.com/Mikubill/sd-webui-controlnet

APPLY RESTART

NOTE :

679b627 | 2024-02-19 09:52:46

hi,there.i got the same problem the solution is not working for me

chscls commented 7 months ago

maybe network problem code annotation in install.py

try_install_insight_face() try_install_from_wheel( "handrefinerportable", wheel_url=os.environ.get( "HANDREFINER_WHEEL", "https://github.com/huchenlei/HandRefinerPortable/releases/download/v1.0.1/handrefinerportable-2024.2.12.0-py2.py3-none-any.whl", ), version="2024.2.12.0", ) try_install_from_wheel( "depth_anything", wheel_url=os.environ.get( "DEPTH_ANYTHING_WHEEL", "https://github.com/huchenlei/Depth-Anything/releases/download/v1.0.0/depth_anything-2024.1.22.0-py2.py3-none-any.whl", ), )

Cissucalris9 commented 7 months ago

Still infinite loading. Controlnet itself works but extensions>installed tab is not loading. Sd ver 1.3.1. Older version of controlnet did not have this bug. Anyone have older control net? Upd. Issue does not happen on stable diffusion ver 1.8.0 2024-03-05_15-17-22