comfyanonymous / ComfyUI

The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface.
https://www.comfy.org/
GNU General Public License v3.0
50.89k stars 5.34k forks source link

An error occurred when using the RIFE VFI node on MACBOOK PRO M2 MAX. #4932

Closed xiaofan010 closed 3 days ago

xiaofan010 commented 3 days ago

Expected Behavior

Attempting to deserialize object on a CUDA device but torch.cuda.is_available() is False. If you are running on a CPU-only machine, please use torch.load with map_location=torch.device('cpu') to map your storages to the CPU. WeChataee7f94051a4bbb192f4bac723dff44a

Actual Behavior

This error occurs when running COMFYUI on the RIFE VFI node on a MACBOOK PRO M2MAX.

Steps to Reproduce

WeChataee7f94051a4bbb192f4bac723dff44a seasons.json

Debug Logs

File "/Users/jiangxuefeng605shi/cf/lib/python3.12/site-packages/torch/serialization.py", line 249, in validate_cuda_device
    raise RuntimeError('Attempting to deserialize object on a CUDA '
RuntimeError: Attempting to deserialize object on a CUDA device but torch.cuda.is_available() is False. If you are running on a CPU-only machine, please use torch.load with map_location=torch.device('cpu') to map your storages to the CPU.

Prompt executed in 0.06 seconds

Other

No response

ltdrdata commented 3 days ago

This issue should be moved to ComfyUI-Frame-Interpolation repo. https://github.com/Fannovel16/ComfyUI-Frame-Interpolation