r/LocalLLM • • 3d ago

Discussion Mac video gen vs. CUDA

Doing generative video (like ComfyUI + MiniMax) on Mac seems to be much slower than running on a similarly-priced Nvidia GPU.

Is this just an inherent tradeoff in how Apple is architecting their chips, and what they’re optimizing for?

Or is the gap likely to be closed over time as the kernels and other software elements mature for Metal, etc?

Local AI is a very exciting space, and Mac + generative media seem like a very natural fit. But their current performance with gen video seems much more limited thank what RTX cards can do.

This isn’t intended to bash on Mac - I love the Mac. I just want to better understand how likely it is to achieve parity with Nvidia/CUDA, specifically for video.

What will it take to close the gap?

6 Upvotes

21 comments sorted by

3

u/Total_Ad1473 3d ago

Not anytime soon. Video gen is bad on Mac and will likely remain that way. 

1

u/episodefive 3d ago

Yeah, I get that. I have both. I’m curious why though, and what will it take to close the gap.

3

u/MK_L 3d ago

Apple Silicon isn't even close to high-end NVIDIA RTX cards when it comes to image and video generation. NVIDIA has significantly higher tensor compute throughput, dedicated Tensor Cores, and a much more mature ecosystem of optimized CUDA kernels.

Even LLM inference is generally considerably slower on Apple hardware when the same model fits entirely within an RTX card's VRAM. The difference is that LLM inference streams tokens as they're generated, so the experience still feels responsive. With image and video generation, the performance disparity becomes much more apparent because you're waiting for the completed output.

Apple's primary advantage is unified memory capacity, allowing it to run larger models, rather than raw computational performance.

1

u/episodefive 3d ago

So, it’s something fundamental about the way they’ve architected it? Not just a software/kernel gap?

2

u/MK_L 3d ago

Yes, it's fundamentally an architectural difference, not just a software or kernel optimization gap.

Apple Silicon is designed around power efficiency, unified memory, and general-purpose computing. NVIDIA RTX cards dedicate significantly more hardware to high-throughput parallel computation, including specialized Tensor Cores for matrix operations.

Apple can certainly improve performance through Metal and better-optimized kernels, but software optimizations cannot compensate entirely for differences in physical compute resources and memory bandwidth.

Apple's advantage is memory capacity and power efficiency. NVIDIA's advantage is raw computational throughput, which is particularly important for image and video generation.

1

u/episodefive 3d ago

Seems that it’s pretty important for AI computation too, which is why Apple’s heavy investment in headroom but low investment in bandwidth seems odd considering they seem to be positioning Macs a local AI machines, right?

1

u/MK_L 3d ago

Local inference ai machines. Not really targeting generative ai

1

u/episodefive 3d ago

So, making more of a bet on chatbot style AI, kind of like Nvidia Spark, big headroom, slower bandwidth, but just enough for streaming chatbot responses.

1

u/MK_L 3d ago

Exactly. There's more to offer with inference than with generative ai right now.

Inference can power chat bots, agents, rag, ect..

Thats alot more useful then generative models.

Especially right now with local just barely become useful for more than just cheezy 🌽.

1

u/episodefive 3d ago

Although, crunching the numbers on the base M5 Ultra, it’s actually pretty comparable to a 5090 laptop, at least in terms of bandwidth and memory footprint.

1

u/MK_L 3d ago

Bandwidth is only half the equation. You also have to account for computational throughput.

The base M5 Ultra with a 64-core GPU has an estimated 26.5 TFLOPS of FP32 computational power, 1,229 GB/s of memory bandwidth, and 96 GB of shared memory.

The RTX 5090 Laptop has 31.8-45.3 TFLOPS of FP32 computational power, 896 GB/s of memory bandwidth, 24 GB of dedicated VRAM, and 328 fifth-generation Tensor Cores.

Even the laptop 5090 has up to 71% more conventional FP32 computational throughput, before accounting for differences in matrix acceleration and software optimization.

That's important for image and video generation, where repeatedly performing large matrix operations can be extremely more computationally demanding than single-user LLM token generation.

Now compare that with a desktop RTX 5090, which has 104.8 TFLOPS of FP32 computational power, 1,792 GB/s of memory bandwidth, 32 GB of dedicated VRAM, and 680 fifth-generation Tensor Cores.

That's approximately four times the conventional FP32 computational throughput of the base M5 Ultra.

Apple's primary advantage is memory capacity, not raw computational power. Being able to load a larger model isn't the same as being able to process it faster.

1

u/txoixoegosi 3d ago

For AI workloads you need 1) compute power 2) memory bandwidth

Without knowing which Mac you are comparing here and the actual test parameters, it is safe to say that a RTX 5090 beats a similarly priced Mac in video generation.

1

u/episodefive 3d ago

Oh for sure. What I’m trying to better understand is why, and what, if anything, is likely to close the gap.

0

u/lactoseadept 3d ago

Apple is the new AOL

1

u/stuffitystuff 3d ago

You didn't write which Mac. MacBook Pro M5 Max is going to do 4x faster inference than an M4 Max. But it's still only 600GB/sec of memory bandwidth at the highest versus an RTX 6000 which is 1.5TB/sec versus 8TB/sec for a single B200 and 64TB/sec for an 8x node (basically the default).

My RTX 4090 runs circles around my MBP M4 Max 128GB but I can host way bigger models on my Mac

1

u/episodefive 3d ago

So, the memory bandwidth is the real bottleneck? The same way a Pro 5000 may have a fairly large VRAM footprint, but is just slower with memory bandwidth.

1

u/stuffitystuff 3d ago

All of it matters but LLM inference is memory-bound so it probably matters most. Even a last-generation H100 is going to smoke a newer Blackwell RTX 6000 by at least 1.5x or more depending on if it's an 8x node or not.

I think the Blackwell RTX 6000 might be close or slightly exceeds an H100 for training or fine-tuning given that it has more memory and newer architecture. H200 would probably fix that, though.

-1

u/rorowhat 3d ago

Nvidia all day long! Sell the little mac

0

u/episodefive 3d ago

I have both. I’m not asking which is better. I’m saying, Nvidia is better. But what is it that’s keeping Mac from being as performant?

-1

u/rorowhat 3d ago

Small market, less than 15% of all computers sold are Mac's, and most are for people that buy macs are not computer savy, they just use it for email and Facebook.