Closed kairosecrans closed 7 months ago
path duplication was a mistake, fixed. for custom controlnets, issue was that sdxl model was only released in diffusers format which requires custom config.json, so it needs to be handled differently.
anyhow, i've added support for that in latest dev branch. from changelog:
models/control/controlnet
foldermodels/control/controlnet/
model.json
and diffusion_pytorch_model.safetensors
to that folder
Issue Description
I'm having some problems using custom ControlNet models (on Windows). I put them in the
/models/control/controlnet
folder and they appear in the list, but they won't load. It seems like part of the path is being doubled and using the wrong slash.When I tweak that path code to fix it for my system, SD1.5 models load properly and are usable, but SDXL-based ones break.
For reference, I'm attempting to use
monster-labs/control_v1p_sd15_qrcode_monster
andmonster-labs/control_v1p_sdxl_qrcode_monster
.Version Platform Description
Windows 10, AMD RX 6800 via ZLUDA, accessed using Brave
Starting SD.Next Logger: file="C:\ai\automatic\sdnext.log" level=INFO size=91726 mode=append Python 3.10.12 on Windows Version: app=sd.next updated=2024-04-06 hash=e783b098 branch=master url=https://github.com/vladmandic/automatic.git/tree/master Platform: arch=AMD64 cpu=Intel64 Family 6 Model 167 Stepping 1, GenuineIntel system=Windows release=Windows-10-10.0.19045-SP0 python=3.10.12 AMD ROCm toolkit detected ZLUDA support: experimental Using ZLUDA in C:\ai\zluda Deleted files: ['modules/control/units/controlnet.py', '"webui-user (autolaunch).cmd"', '"webui-user - Copy.cmd"', 'webui-user.cmd'] Modified files: ['modules/control/units/controlnet.py', 'webui-user.cmd'] Extensions: disabled=[] Extensions: enabled=['Lora', 'sd-extension-chainner', 'sd-extension-system-info', 'sd-webui-agent-scheduler', 'sd-webui-controlnet', 'stable-diffusion-webui-images-browser', 'stable-diffusion-webui-rembg'] extensions-builtin Extensions: enabled=[] extensions
Relevant log output
Backend
Diffusers
Branch
Master
Model
SD-XL
Acknowledgements