Skip to content
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

'ModelPatcher' object has no attribute 'current_device'请问什么原因?非常感谢! #451

Closed
sanzuwumetaverse opened this issue Aug 13, 2024 · 3 comments

Comments

@sanzuwumetaverse
Copy link

Error occurred when executing ADE_AnimateDiffLoaderWithContext:

'ModelPatcher' object has no attribute 'current_device'

File "D:\ComfyUI-aki-v1.3\execution.py", line 152, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
File "D:\ComfyUI-aki-v1.3\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-aki-v1.3\execution.py", line 75, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
File "D:\ComfyUI-aki-v1.3\custom_nodes\ComfyUI-AnimateDiff-Evolved\animatediff\nodes_gen1.py", line 160, in load_mm_and_inject_params
model = ModelPatcherAndInjector(model)
File "D:\ComfyUI-aki-v1.3\custom_nodes\ComfyUI-AnimateDiff-Evolved\animatediff\model_injection.py", line 29, in init
super().init(m.model, m.load_device, m.offload_device, m.size, m.current_device, weight_inplace_update=m.weight_inplace_update)

@Kosinkadink
Copy link
Owner

Just update AnimateDiff-Evolved and your error will be resolved.

#439

@Kosinkadink Kosinkadink closed this as not planned Won't fix, can't repro, duplicate, stale Aug 13, 2024
@rippz13
Copy link

rippz13 commented Aug 15, 2024

Just update AnimateDiff-Evolved and your error will be resolved.

#439

Sorry i have the same error using animate diff. How do i update animatediff or animatediff-evolved? i have the same problem. plz

@sanzuwumetaverse
Copy link
Author

非常感谢大佬,非常感谢:)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants