Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
hariharanv01 opened this issue Nov 10, 2024 · 6 comments
Open

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

hariharanv01 opened this issue Nov 10, 2024 · 6 comments

Comments

@hariharanv01
Copy link

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
Copy link

I think its impossible to run on Mac. I have m3 max too! And 48 gb version. #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

This comment was marked as spam.

@Bellomustapha
Copy link

Hello

@bghira
Copy link

bghira commented Nov 14, 2024

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

@BoBo0037
Copy link

BoBo0037 commented Dec 3, 2024

Hi, I tried to run Mochi on a Mac from bobo-fun, but encountered a bug where Mochi produces a completely black screen video. I discovered that the issue lies with the 'out_cond' and 'out_uncond' variables in the model_fn() function, which consistently display as tensor([[[[[nan, nan, nan, ..., nan, nan, nan]...)...

@stephenhandley
Copy link

was able to get some output with mps that wasn't totally blank, but still looks like mostly noise
stephenhandley#1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants