Closed CS1o closed 7 months ago
Please follow this instruction to run CLIP preprocessor on CPU. https://github.com/Mikubill/sd-webui-controlnet/pull/2495
Please follow this instruction to run CLIP preprocessor on CPU. #2495
It helped, thank you very much!
Thanks alot, the ControlNet setting "Load CLIP preprocessor model on CPU" fixed it :)
Is there an existing issue for this?
What happened?
Im using the Latest Version of the DirectML Fork of Automatic1111 (without onnx or olive) on Windows 10. Webui Version: [1.7.0] • python: 3.10.11 • torch: 2.0.0+cpu • xformers: N/A • gradio: 3.41.2
After an ControlNet Update last week or before (could be since version 1.1.431), the IP-Adapter models dont work anymore.
Using Preprocessor: ip-adapter_clip_sd15 and model: ip-adapter-full-face_sd15 or any other model
When pressing Generate, I now get the following error posted down below:
The IP-Adapter worked without problems before, for months. I informed the Dev of the DirectML Fork who suggested that i could try --use-cpu controlnet (which uses the CPU for all ControlNet tasks), by adding it in the webui-user.bat.
With that option the IP-Adapter works. BUT now Openpose and all the other ControlNet models dont work when using CPU.
Stated this new issue with error code there as i think that would be a directml issue: https://github.com/lshqqytiger/stable-diffusion-webui-directml/issues/362#issuecomment-1907023903
The ControlNet Update shouldnt have changed how IP-Adapter was working. Everything worked fine for months. Now you have to decide if you want to use IP-Adapter OR all the other controlnet models.
Steps to reproduce the problem
What should have happened?
IP-Adapter should have applied the face to the generated image. There shouldnt be the error from below in the cmd.
Commit where the problem happens
webui: Version: [1.7.0] • python: 3.10.11 • torch: 2.0.0+cpu • xformers: N/A • gradio: 3.41.2 controlnet: v1.1.436 and v1.1.435 and v1.1.434 and maybe startet since v1.1.431
What browsers do you use to access the UI ?
Mozilla Firefox
Command Line Arguments
List of enabled extensions
a1111-sd-webui-tagcomplete adetailer clip-interrogator-ext multidiffusion-upscaler-for-automatic1111 openpose-editor sd-webui-controlnet sd-webui-cutoff sd-webui-freeu sd-webui-llul sd-webui-openpose-editor sd-webui-reactor stable-diffusion-webui-Prompt_Generator stable-diffusion-webui-rembg test_my_prompt ultimate-upscale-for-automatic1111
Console logs
Additional information
No response