ArtVentureX / comfyui-animatediff

AnimateDiff for ComfyUI
Apache License 2.0
699 stars 45 forks source link

AnimateDiff doesnt connect #56

Closed ShvetsAaa closed 1 year ago

ShvetsAaa commented 1 year ago

Traceback (most recent call last): File "/notebooks/ComfyUI/nodes.py", line 1735, in load_custom_node module_spec.loader.exec_module(module) File "", line 850, in exec_module File "", line 228, in _call_with_frames_removed File "/notebooks/ComfyUI/custom_nodes/ComfyUI-AnimateDiff-Evolved/init.py", line 2, in from .animatediff.nodes import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS File "/notebooks/ComfyUI/custom_nodes/ComfyUI-AnimateDiff-Evolved/animatediff/nodes.py", line 21, in from .sampling import animatediff_sample_factory File "/notebooks/ComfyUI/custom_nodes/ComfyUI-AnimateDiff-Evolved/animatediff/sampling.py", line 9, in from comfy.samplers import lcm ImportError: cannot import name 'lcm' from 'comfy.samplers' (/notebooks/ComfyUI/comfy/samplers.py)

Cannot import /notebooks/ComfyUI/custom_nodes/ComfyUI-AnimateDiff-Evolved module for custom nodes: cannot import name 'lcm' from 'comfy.samplers' (/notebooks/ComfyUI/comfy/samplers.py)

artventuredev commented 1 year ago

From the log I can see that you're using the ComfyUI-AnimateDiff-Evolved fork, not this repo. There's a new change in ComfyUI that break the import, you could simply revert ComfyIU to an older commit, or fire an issue at the forked repo.