Getting "DiffControlNetLoader" error in ComfyUI

#4
by pip-nov - opened

Hello,

I'm getting the following error when I try to use the Union model in ComfyUI:

Error occurred when executing DiffControlNetLoader:

'pos_embed.proj.weight'

File "D:\ComfyUI\ComfyUI\execution.py", line 152, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\ComfyUI\ComfyUI\execution.py", line 82, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\ComfyUI\ComfyUI\execution.py", line 75, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\ComfyUI\ComfyUI\nodes.py", line 736, in load_controlnet
controlnet = comfy.controlnet.load_controlnet(controlnet_path, model)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\ComfyUI\ComfyUI\comfy\controlnet.py", line 456, in load_controlnet
return load_controlnet_mmdit(controlnet_data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\ComfyUI\ComfyUI\comfy\controlnet.py", line 372, in load_controlnet_mmdit
new_sd = comfy.model_detection.convert_diffusers_mmdit(sd, "")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\ComfyUI\ComfyUI\comfy\model_detection.py", line 500, in convert_diffusers_mmdit
depth = state_dict["pos_embed.proj.weight"].shape[0] // 64


My ComfyUI is updated to the latest version.

i have the same

InstantX org

Only supports Diffusers until now

Only supports Diffusers until now

Ah, got it. Hopefully Comfy support comes soon! :)

Sign up or log in to comment