Skip to main content

For help

I downloaded the installer for the offline version your team provided, my computer is Mac with intel chip .At the procedure of install torch,i meet the following error code :AssertionError("Torch not compiled with CUDA enabled") AssertionError: Torch not compiled with CUDA enabled, how can i solve this problem?

2 comments

Log in to comment and vote

Comments2

  • Homer Chien

    •

    Aug 15, 2024

    I've encountered the same issue with this problem, which might be a BUG in ComfyUI. You can try modifying the content of ComfyUI/comfy/model_management.py, locate the line return torch.device(torch.cuda.current_device()) and change it to return torch.device("cpu").

    By the way, even if it's installed, the speed of producing images on Mac Intel is unacceptable.

  • Jimmy Wong

    Team•

    Aug 13, 2024

    Sorry, we don't support this model of Mac computer at the moment due to the lack of test machine with Intel chip.

    Also, I don't recommend you to use this computer, because even if you can install it successfully, it will be very slow to run the AI graphic generation.