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]: Applied providers: ['CPUExecutionProvider'] #3038

Open
1 task done
ZeroCool22 opened this issue Aug 18, 2024 · 1 comment
Open
1 task done

[Bug]: Applied providers: ['CPUExecutionProvider'] #3038

ZeroCool22 opened this issue Aug 18, 2024 · 1 comment

Comments

@ZeroCool22
Copy link

ZeroCool22 commented Aug 18, 2024

Is there an existing issue for this?

  • I have searched the existing issues and checked the recent builds/commits of both this extension and the webui

What happened?

venv "C:\Users\ZeroCool22\Desktop\AutoSDXL\stable-diffusion-webui\venv\Scripts\Python.exe"
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug  1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Version: v1.10.1
Commit hash: 82a973c04367123ae98bd9abdf80d9eda9b910e2
CUDA 12.1
Launching Web UI with arguments: --xformers --api
CHv1.8.11: Get Custom Model Folder
Tag Autocomplete: Could not locate model-keyword extension, Lora trigger word completion will be limited to those added through the extra networks menu.
[-] ADetailer initialized. version: 24.8.0, num models: 10
ControlNet preprocessor location: C:\Users\ZeroCool22\Desktop\AutoSDXL\stable-diffusion-webui\extensions\sd-webui-controlnet\annotator\downloads
2024-08-17 22:56:16,693 - ControlNet - INFO - ControlNet v1.1.455
22:56:17 - ReActor - STATUS - Running v0.7.1-a1 on Device: CUDA
Loading weights [2295809170] from C:\Users\ZeroCool22\Desktop\AutoSDXL\stable-diffusion-webui\models\Stable-diffusion\1.5\Pony\realcartoonPony_v1.safetensors
CHv1.8.11: Set Proxy:
2024-08-17 22:56:17,882 - ControlNet - INFO - ControlNet UI callback registered.
Running on local URL:  http://127.0.0.1:7860

To create a public link, set `share=True` in `launch()`.
Creating model from config: C:\Users\ZeroCool22\Desktop\AutoSDXL\stable-diffusion-webui\repositories\generative-models\configs\inference\sd_xl_base.yaml
Startup time: 24.0s (prepare environment: 10.4s, import torch: 3.5s, import gradio: 0.8s, setup paths: 1.6s, initialize shared: 0.3s, other imports: 0.9s, load scripts: 4.0s, initialize extra networks: 0.2s, create ui: 0.9s, gradio launch: 0.6s, add APIs: 0.7s).
Loading VAE weights specified in settings: C:\Users\ZeroCool22\Desktop\AutoSDXL\stable-diffusion-webui\models\VAE\sdxl_vae.safetensors
Applying attention optimization: xformers... done.
Model loaded in 33.4s (load weights from disk: 1.3s, create model: 1.1s, apply weights to model: 29.3s, load VAE: 0.9s, move model to device: 0.2s, calculate empty prompt: 0.4s).
2024-08-17 22:57:38,359 - ControlNet - INFO - unit_separate = False, style_align = False
2024-08-17 22:57:38,609 - ControlNet - INFO - Loading model: ip-adapter-faceid-plusv2_sdxl [187cb962]
2024-08-17 22:57:41,954 - ControlNet - INFO - Loaded state_dict from [C:\Users\ZeroCool22\Desktop\AutoSDXL\stable-diffusion-webui\models\ControlNet\SDXL\ip-adapter-faceid-plusv2_sdxl.bin]
2024-08-17 22:57:44,389 - ControlNet - INFO - ControlNet model ip-adapter-faceid-plusv2_sdxl [187cb962](ControlModelType.IPAdapter) loaded.
2024-08-17 22:57:44,396 - ControlNet - INFO - Using preprocessor: ip-adapter_face_id_plus
2024-08-17 22:57:44,396 - ControlNet - INFO - preprocessor resolution = 1024
Applied providers: ['CPUExecutionProvider'], with options: {'CPUExecutionProvider': {}}
find model: C:\Users\ZeroCool22\Desktop\AutoSDXL\stable-diffusion-webui\extensions\sd-webui-controlnet\annotator\downloads\insightface\models\buffalo_l\1k3d68.onnx landmark_3d_68 ['None', 3, 192, 192] 0.0 1.0
Applied providers: ['CPUExecutionProvider'], with options: {'CPUExecutionProvider': {}}
find model: C:\Users\ZeroCool22\Desktop\AutoSDXL\stable-diffusion-webui\extensions\sd-webui-controlnet\annotator\downloads\insightface\models\buffalo_l\2d106det.onnx landmark_2d_106 ['None', 3, 192, 192] 0.0 1.0
Applied providers: ['CPUExecutionProvider'], with options: {'CPUExecutionProvider': {}}
find model: C:\Users\ZeroCool22\Desktop\AutoSDXL\stable-diffusion-webui\extensions\sd-webui-controlnet\annotator\downloads\insightface\models\buffalo_l\det_10g.onnx detection [1, 3, '?', '?'] 127.5 128.0
Applied providers: ['CPUExecutionProvider'], with options: {'CPUExecutionProvider': {}}
find model: C:\Users\ZeroCool22\Desktop\AutoSDXL\stable-diffusion-webui\extensions\sd-webui-controlnet\annotator\downloads\insightface\models\buffalo_l\genderage.onnx genderage ['None', 3, 96, 96] 0.0 1.0
Applied providers: ['CPUExecutionProvider'], with options: {'CPUExecutionProvider': {}}
find model: C:\Users\ZeroCool22\Desktop\AutoSDXL\stable-diffusion-webui\extensions\sd-webui-controlnet\annotator\downloads\insightface\models\buffalo_l\w600k_r50.onnx recognition ['None', 3, 112, 112] 127.5 127.5
set det-size: (640, 640)
2024-08-17 22:57:59,111 - ControlNet - INFO - ControlNet Hooked - Time = 20.759535312652588
100%|██████████████████████████████████████████████████████████████████████████████████| 17/17 [00:08<00:00,  2.10it/s]
100%|██████████████████████████████████████████████████████████████████████████████████| 17/17 [00:04<00:00,  3.93it/s]

Steps to reproduce the problem

  1. Go to ....
  2. Press ....
  3. ...

What should have happened?

The GPU must be used.

Commit where the problem happens

webui: 82a973c04367123ae98bd9abdf80d9eda9b910e2 (HEAD -> master, tag: v1.10.1, origin/master, origin/HEAD)
controlnet: 56cec5b -> fix version parsing

What browsers do you use to access the UI ?

Mozilla Firefox

Command Line Arguments

set COMMANDLINE_ARGS=--xformers --api

List of enabled extensions

Screenshot_4

Console logs

On first post.

Additional information

(venv) C:\Users\ZeroCool22\Desktop\AutoSDXL\stable-diffusion-webui\venv\Scripts>pip show onnxruntime
Name: onnxruntime
Version: 1.19.0
Summary: ONNX Runtime is a runtime accelerator for Machine Learning models
Home-page: https://onnxruntime.ai
Author: Microsoft Corporation
Author-email: [email protected]
License: MIT License
Location: c:\users\zerocool22\desktop\autosdxl\stable-diffusion-webui\venv\lib\site-packages
Requires: coloredlogs, flatbuffers, numpy, packaging, protobuf, sympy
Required-by:

(venv) C:\Users\ZeroCool22\Desktop\AutoSDXL\stable-diffusion-webui\venv\Scripts>
@ZeroCool22 ZeroCool22 changed the title [Bug]: [Bug]: Applied providers: ['CPUExecutionProvider'] Aug 18, 2024
@phucbienvan
Copy link

Hello @ZeroCool22 , have you fixed that error yet?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants