-
-
Notifications
You must be signed in to change notification settings - Fork 211
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[PSA] New ComfyUI commit changed ModelPatcher init function (AttributeError: 'MotionModelPatcher' object has no attribute 'current_device') #439
Comments
Same problem |
Same issue on my side. Thanks so much Kosinkadink! -- Error occurred when executing ADE_ApplyAnimateDiffModelSimple: 'MotionModelPatcher' object has no attribute 'current_device' File "/notebooks/ComfyUI/execution.py", line 152, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/notebooks/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 "/notebooks/ComfyUI/execution.py", line 75, in map_node_over_list results.append(getattr(obj, func)(**slice_dict(input_data_all, i))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/notebooks/ComfyUI/custom_nodes/ComfyUI-AnimateDiff-Evolved/animatediff/nodes_gen2.py", line 156, in apply_motion_model return ApplyAnimateDiffModelNode.apply_motion_model(self, motion_model, motion_lora=motion_lora, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/notebooks/ComfyUI/custom_nodes/ComfyUI-AnimateDiff-Evolved/animatediff/nodes_gen2.py", line 113, in apply_motion_model motion_model = motion_model.clone() ^^^^^^^^^^^^^^^^^^^^ File "/notebooks/ComfyUI/custom_nodes/ComfyUI-AnimateDiff-Evolved/animatediff/model_injection.py", line 1019, in clone n = MotionModelPatcher(self.model, self.load_device, self.offload_device, self.size, self.current_device, weight_inplace_update=self.weight_inplace_update) ^^^^^^^^^^^^^^^^^^^ |
Fix is now live for both AnimateDiff-Evolved and Advanced-ControlNet (SparseCtrl). |
Kosinkadink u are the best))) everything is working fine |
@Gamebropro create a new issue report, as it is not related to what this PSA is about, thank you for the report though |
[AnimateDiffEvo] - INFO - Loading motion module mm_sd_v15_v2.ckpt Have updated to the latest version, but still wrong? |
@Lanzrong looking at your error call stack, your AnimateDiff-Evolved is outdated by a few months (your version is likely from before even May). Update AnimateDiff-Evolved and your error will go away. |
Problem solved. Thank you very much
|
Problem solved only by deleting AnimateDiff-Evolved folder and installed it as new. The update procedure didn't worked. |
I'll work on a patch shortly to resolve it.
The commit from ComfyUI that introduced the change: comfyanonymous/ComfyUI@b334605
The text was updated successfully, but these errors were encountered: