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]: Using IP Adapter XL with Ending Step <0.9 it doesn's work anymore #2772

Closed
1 task done
INTstinkt opened this issue Apr 21, 2024 · 3 comments
Closed
1 task done
Assignees
Labels
bug Something isn't working

Comments

@INTstinkt
Copy link

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?

So after updating ControlNet today to use the new features i found that if you try using no matter what ip adapter xl model while setting the Ending Step below 0.9 it just kind of stop working. In Consol i get no Error or anything

Steps to reproduce the problem

  1. Go to .... Controlnet
  2. Press ....Preprocessor : ip-adapter-auto Model: Literally every Model Everything else default except Ending Control Step <0.9 Weight Typ: Normal
  3. Generate

What should have happened?

Output should Use IP Adapter till the specific ending step instead of not working at all

Commit where the problem happens

webui: version: v1.9.0  •  python: 3.10.11  •  torch: 2.1.2+cu121  •  xformers: 0.0.23.post1  •  gradio: 3.41.2  •  checkpoint: c9e3e68f89
controlnet: V1.1.445

What browsers do you use to access the UI ?

Google Chrome

Command Line Arguments

--xformers

List of enabled extensions

image

Console logs

To create a public link, set `share=True` in `launch()`.
Startup time: 32.5s (prepare environment: 11.7s, import torch: 3.0s, import gradio: 1.0s, setup paths: 4.8s, initialize shared: 0.2s, other imports: 0.5s, load scripts: 5.5s, create ui: 5.1s, gradio launch: 0.6s).
2024-04-21 06:56:36,249 - ControlNet - INFO - unit_separate = False, style_align = False
2024-04-21 06:56:36,543 - ControlNet - INFO - Loading model: ip-adapter-faceid-plusv2_sdxl [187cb962]
2024-04-21 06:56:36,821 - ControlNet - INFO - Loaded state_dict from [C:\AI\stable-diffusion-webui\extensions\sd-webui-controlnet\models\ip-adapter-faceid-plusv2_sdxl.bin]
2024-04-21 06:56:39,176 - ControlNet - INFO - ControlNet model ip-adapter-faceid-plusv2_sdxl [187cb962](ControlModelType.IPAdapter) loaded.
2024-04-21 06:56:39,177 - ControlNet - INFO - using mask
2024-04-21 06:56:39,181 - ControlNet - INFO - Using preprocessor: ip-adapter-auto
2024-04-21 06:56:39,181 - ControlNet - INFO - preprocessor resolution = 512
2024-04-21 06:56:39,182 - ControlNet - INFO - ip-adapter-auto => ip-adapter_face_id_plus
Applied providers: ['CPUExecutionProvider'], with options: {'CPUExecutionProvider': {}}
find model: C:\AI\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:\AI\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:\AI\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:\AI\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:\AI\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-04-21 06:56:46,408 - ControlNet - INFO - ControlNet Hooked - Time = 10.16440486907959
100%|██████████████████████████████████████████████████████████████████████████████████| 20/20 [00:14<00:00,  1.36it/s]
postprocess_batch00%|██████████████████████████████████████████████████████████████████| 20/20 [00:12<00:00,  1.59it/s]
Total progress: 100%|██████████████████████████████████████████████████████████████████| 20/20 [00:12<00:00,  1.54it/s]
2024-04-21 06:57:14,988 - ControlNet - INFO - unit_separate = False, style_align = False 20/20 [00:12<00:00,  1.59it/s]
2024-04-21 06:57:14,988 - ControlNet - INFO - Loading model from cache: ip-adapter-faceid-plusv2_sdxl [187cb962]
2024-04-21 06:57:14,988 - ControlNet - INFO - using mask
2024-04-21 06:57:14,990 - ControlNet - INFO - Using preprocessor: ip-adapter-auto
2024-04-21 06:57:14,990 - ControlNet - INFO - preprocessor resolution = 512
2024-04-21 06:57:15,276 - ControlNet - INFO - ControlNet Hooked - Time = 0.2940239906311035
100%|██████████████████████████████████████████████████████████████████████████████████| 20/20 [00:11<00:00,  1.74it/s]
postprocess_batch00%|██████████████████████████████████████████████████████████████████| 20/20 [00:11<00:00,  1.71it/s]
Total progress: 100%|██████████████████████████████████████████████████████████████████| 20/20 [00:12<00:00,  1.63it/s]
Total progress: 100%|██████████████████████████████████████████████████████████████████| 20/20 [00:12<00:00,  1.71it/s]

Additional information

Example Using FaceID V2XL but basically goes for every IPAdapter model
First Picture with Endingstep 0.9
Second Picture with Endingstep 0.89 (I blacked out random NSFW stuff)
00008-3650980302
00009-3650980302

Model Used :Juggernaut XLv9
Sampler : DPM++SDE karras 20 steps
CFG 2

@INTstinkt
Copy link
Author

Forgot Input Picture for Reference
file (4)

@huchenlei huchenlei self-assigned this Apr 21, 2024
@huchenlei huchenlei added the bug Something isn't working label Apr 21, 2024
@huchenlei
Copy link
Collaborator

Issue confirmed reproducable.

@huchenlei
Copy link
Collaborator

I believe it is caused by upstream change described in #2752. You can checkout A1111 dev branch that includes this PR AUTOMATIC1111/stable-diffusion-webui#15533 to solve this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants