TencentQQGYLab / ComfyUI-ELLA

ELLA nodes for ComfyUI
332 stars 14 forks source link

'ModelPatcher' object has no attribute 'get_model_object' #27

Open uxyz-yang opened 5 months ago

uxyz-yang commented 5 months ago

Meeting an error when executing the basic example.

Error occurred when executing EllaApply:

'ModelPatcher' object has no attribute 'get_model_object'

File "/home/ubuntu/ComfyUI/execution.py", line 152, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
File "/home/ubuntu/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 "/home/ubuntu/ComfyUI/execution.py", line 75, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
File "/home/ubuntu/ComfyUI/custom_nodes/ComfyUI-ELLA/ella.py", line 161, in apply
model_sampling = model_clone.get_model_object("model_sampling")
JettHu commented 5 months ago

have you try update your comfyui version

uxyz-yang commented 5 months ago

Yes, my comfy version is the latest one

JettHu commented 5 months ago

Check your comfyui code. There is this method in the comfyui repo

uxyz-yang commented 5 months ago

It is exactly the same:

image

JettHu commented 5 months ago

I just tried it on comfyui and the problem did not occur. (comfyui commit-id: 27d5808fc491c7174abc6f407e7dc11c6a7a1ec0)

It seems that no one else has encountered it either. It may be damaged by other plug-ins.

uxyz-yang commented 5 months ago

You are right, it works after randomly stopping half of the plugins.

I will update the conclusion here after figuring out what the culprit is.

JettHu commented 5 months ago

You are right, it works after randomly stopping half of the plugins.

I will update the conclusion here after figuring out what the culprit is.

Thanks!

rekgp commented 5 months ago

I encountered the same problem, but managed to resolve it. Steps that didn't help (in order):

I do not know what a standard way of documenting this sort of thing is, so I hope this can help anyone who encounters it. I have no idea what caused it, nor do I know how or why it was resolved.

uxyz-yang commented 5 months ago

Resolved by:

  • Updating all extensions and comfyui using "Update ALL" option in Comfyui Manager

The same. I can't find the source of this problem.

Common plugins: ComfyUI Impact Pack ComfyUI's ControlNet Auxiliary Preprocessors Efficiency Nodes for ComfyUI Version 2.0+ WAS Node Suite Comfyroll Studio