genmoai / mochi

The best OSS video generation models
Apache License 2.0
2.13k stars 213 forks source link

Unable to run on Mac : Torch not compiled with CUDA enabled #74

Open hariharanv01 opened 2 weeks ago

hariharanv01 commented 2 weeks ago

Hi

Newbie here. I am trying to run Mochi on my Mac. Getting the below error:

AssertionError: Torch not compiled with CUDA enabled

I tried uninstalling Torch and installing the nightly version, but still getting the same error. I looked at the code and appears that there's tight coupling to Torch-CUDA.

Machine config:

Graphics/Displays:

    Apple M3 Max:

      Chipset Model: Apple M3 Max
      Type: GPU
      Bus: Built-In
      Total Number of Cores: 40
      Vendor: Apple (0x106b)
      Metal Support: Metal 3
      Displays:
        Color LCD:
          Display Type: Built-in Liquid Retina XDR Display
          Resolution: 3024 x 1964 Retina
          Main Display: Yes
          Mirror: Off
          Online: Yes
          Automatically Adjust Brightness: Yes
          Connection Type: Internal

I tried running Mochi standalone as well as thro' ComfyUI. Please let me know if there's any way I can run the model on Mac.

Thanks

shadowzoom commented 2 weeks ago

I think its impossible to run on Mac. I have m3 max too! And 48 gb version. https://github.com/genmoai/models/issues/71

I've tried multuply variants, used even chatgpt. Nothing helped. I was fucking with this whole 12 hours If you will make it, pls write here!

FurkanGozukara commented 2 weeks ago

you can run it on cloud so easy : https://youtu.be/iqBV7bCbDJY

swarmui may make you run on mac but i dont have mac so dont know

Bellomustapha commented 1 week ago

Hello

bghira commented 1 week ago

@paras-genmo can you ban @FurkanGozukara from here since he's just showing up to spam his patreon