'ModelPatcher' object has no attribute 'get_model_object'
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")
have you try update your comfyui version
Yes, my comfy version is the latest one
Check your comfyui code. There is this method in the comfyui repo
It is exactly the same:
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.
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.
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!
I encountered the same problem, but managed to resolve it. Steps that didn't help (in order):
- Changing to native model loader included in comfyui (before that i was using model merge from Comfyroll)
- Disabling unused extensions
- Updating Comfyui
Resolved by:
- Updating all extensions and comfyui using "Update ALL" option in Comfyui Manager
Custom nodes installed and enabled when the error stopped occurring:
- ComfyUI Impact Pack
- ComfyUI's ControlNet Auxiliary Preprocessors
- Efficiency Nodes for ComfyUI Version 2.0+
- WAS Node Suite
- pythongosssss/ComfyUI-Custom-Scripts
- UltimateSDUpscale
- Comfyroll Studio !!! Note: uninstalled and installed as per the note displayed below the extension.
- ComfyUI-ELLA
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.
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