AuroBit / ComfyUI-AnimateAnyone-reproduction

A ComfyUI custom node that simply integrates the [animate-anyone-reproduction](https://github.com/bendanzzc/AnimateAnyone-reproduction) functionality.
36 stars 8 forks source link

AssertionError: Torch not compiled with CUDA enabled #2

Closed Lex974 closed 5 months ago

Lex974 commented 5 months ago

Hi ! I have this (mac M2 8go vram) :

File "/Volumes/Lex2018/Lex_ComfyUI/ComfyUI/execution.py", line 152, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) File "/Volumes/Lex2018/Lex_ComfyUI/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 "/Volumes/Lex2018/Lex_ComfyUI/ComfyUI/execution.py", line 75, in map_node_over_list results.append(getattr(obj, func)(*slice_dict(input_data_all, i))) File "/Volumes/Lex2018/Lex_ComfyUI/ComfyUI/custom_nodes/ComfyUI-AnimateAnyone-reproduction/animate_anyone_nodes.py", line 131, in run_inference video_frames = pipeline(ref_image, pose_imgs_pil, decode_chunk_size=2,num_frames=len(pose_imgs_pil),motion_bucket_id=127.0, File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context return func(args, **kwargs) File "/Volumes/Lex2018/Lex_ComfyUI/ComfyUI/custom_nodes/ComfyUI-AnimateAnyone-reproduction/pipeline_stable_video_diffusion_controlnet_long.py", line 443, in call image_embeddings = self._encode_image(image, device, num_videos_per_prompt, do_classifier_free_guidance) File "/Volumes/Lex2018/Lex_ComfyUI/ComfyUI/custom_nodes/ComfyUI-AnimateAnyone-reproduction/pipeline_stable_video_diffusion_controlnet_long.py", line 155, in _encode_image image = image.to(device=device, dtype=dtype) File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/torch/cuda/init.py", line 289, in _lazy_init raise AssertionError("Torch not compiled with CUDA enabled") AssertionError: Torch not compiled with CUDA enabled