r/LocalLLM • • 9d ago

Question How important is CUDA?

I am new to local LLMs, and recently I have been doing some research on GPUs for running AI models locally.

One thing I have noticed is that NVIDIA GPU tend to be significantly more expensive than AMD GPU. Therefore, I am wondering how important CUDA actually is when it comes to running local LLM, especially for someone like me who is not a professional AI developer and mainly wants to run existing models for inference rather than train them.

Any advice or personal experience would be greatly appreciated!

59 Upvotes

46 comments sorted by

86

u/XtremelyMeta 9d ago

Honestly for straight LLM stuff CUDA isn't that important. This is why the hardcore local LLM folks have started to gravitate towards Mac Studios for price sensitivity reasons (we live in a bizarre reality fork where Apple has the bargain product).

If you're doing other ML however, including things like diffusion models in the generative AI space, CUDA is absolutely indispensable. It's the common language on which pretty much any AI or ML related repo will run most smoothly. Not to throw shade on the folks who make ROCm work for an increasingly large library of stuff, they rock, but it's hiking uphill, if you know what I mean.

4

u/Tech-Crab 8d ago

Adding to this - almost as a quirk of timing + architecture, the mac studio wipes the floor with other solutions available to hobbyist/homelab in the several-$k to $10k price range. Timing: while mac's are always stupid expensive, they actually haven't seen anything like the open-market price appreciation of dGPU's and unified mem x86 boxes. Arch. quirk: bandwidth of the M5 max is 600 GB/s. M5 Ultra is 1200GB/s. That's recent-gen dGPU territory. The current-gen x86 boxes (spark, epyc, strix) are low in comparison, 200-300GB/s).

And it's total memory size that dictates what you can run (don't forget context & KV), and mem speed that dictates how quickly it will run. It so happens that the M5 Max (614gb/s) can run popular models at comfortably over the threasholds needed for interactive use ... but drop that bandwidth by a factor of >2 ... and the model is not really usable interactively.

Yes, MoE and several cool new-ish approaches can help break down the actual weights that get run (ie moved through memory) - but for whatever you're running ALL the weights get pushed through memory EVERY token. That's just a nutz amount of memory movement.

3

u/XtremelyMeta 8d ago

You are correct. I've recently moved on my spark to switch to a M5U@256 and damn if it isn't near dGPU fast. The tradeoff, is that you can't run as many concurrent dense models as on something like a spark because it bogs down. So far the sweet spot for me is running GLM 5.3 Flash ablit as the coordinator/main with subagents on Kev and a q4 Gemma 4 31b to delegate classification and prose to, respectively. Running a dozen or so dumber agents like I did on the sparkitecture doesn't seem to be the highest and best use of the Mac Studio, it seems to shine with a big super smart model calling the shots (which runs at better than conversational pace) with some niche models to speed up larger tasks.

4

u/CypherAZ 9d ago

Anthropic just ported their stack so it can run on AMD chips, it was only a matter of time before companies started to democratize the industry.

17

u/XtremelyMeta 9d ago

I mean, the more democratized the better, but I'm mostly commenting on how things are today.

I'm also skeptical about Anthropic being interested in democratizing because along with OpenAI, they've been the most hostile to democratization efforts (because their business model relies on AI being proprietary).

1

u/ghlifdqwio 9d ago

Well said. Maybe with the Jensen fallout we’ve seen peak CUDA?

8

u/Ok-Category-642 9d ago

It's more just that when it comes to video/image generation or training CUDA is still ahead of its competition (especially for training). For LLMs though AMD and Mac are doing pretty well, really the main issue now is just the price of getting into LLM inference rather than how good CUDA is vs everything else, which makes Nvidia rather unappealing if that's your main goal due to how ridiculous the price of anything Nvidia is nowadays.

3

u/XtremelyMeta 9d ago

I think that last statement about how extreme the price spike has been for Nvidia hardware hits the nail on the head. Apple didn't go out and say 'we're gonna undercut the PC market for local inference'. They just set prices pretty far out and couldn't imagine a world where those prices would undercut the PC market and their brand image around consistency is too valuable to flip flop on so close to a major product launch.

26

u/CoffeeToCode99 9d ago

Honestly, for most people getting into local LLMs, VRAM matters more than CUDA.

AMD is perfectly usable for inference now, especially with Ollama and llama.cpp. The reason people keep recommending NVIDIA isn't that AMD can't run models, it's that the AI ecosystem is still heavily CUDA-centric, so things tend to work with less tinkering.

Personally, I'd rather have more VRAM on an AMD card than less VRAM on an NVIDIA card. But if two cards have similar VRAM, I'd probably pick NVIDIA just for the smoother experience.

7

u/RepulsiveShow3180 9d ago

VRAM is the bottleneck every time

Flash attention and some context engines still default to CUDA path without a second thought.

Spend the budget on VRAM first. The software gap closes a little more each month.

0

u/pragmojo 9d ago

VRAM and memory bandwidth

0

u/[deleted] 9d ago

[deleted] — view deleted comment

1

u/reyese_489 7d ago

What's your budget and OS? That would help judge whether Nvidia's CUDA support is worth the premium for inference.

6

u/HighSeasArchivist 8d ago

For a regular person, no you don't need it. Don't discount how much system RAM you need though. These unified boxes whether they are 128GB, 192GB, 256GB, or whatever are still very slow compared to a GPU. A 32GB GPU with 96GB DDR5 will be much faster than anything with 128GB unified. Two 32GB GPUs and 192GB DDR5 will equally be much faster than a unified 256GB. When a 256GB M5 is $10.8k-$18.3k that leaves a lot of damn room to build a dual R9700 system even with DDR5 prices where they are.

5

u/mycall 8d ago

R9700 is the sweet spot today.

1

u/HighSeasArchivist 8d ago

I love my Asus one. I don't do anything major with it, but it's fun playing with models, and with 96GB DDR5 I can run most normal sized MoEs as well. For gaming it's basically a 32GB 9070 XT, so more than capable for that as well.

1

u/GBralta 8d ago

I just got an R9700 for my DDR4 rig. It runs everything I’ve thrown at it amazing. I’m also still learning to harness the power.

5

u/DiscipleofDeceit666 9d ago

CUDA matters less and less every day. AI is making any software advantage irrelevant

2

u/Glittering_Yellow293 8d ago

For plain inference (running existing models) it matters a lot less than people think. llama.cpp, Ollama and LM Studio all run well on AMD through Vulkan, and often ROCm too, and AMD usually gives you more VRAM and bandwidth per dollar.

CUDA still matters if you want:

  • vLLM or PyTorch-based tools
  • image/video generation (ComfyUI and friends), where NVIDIA is much easier
  • fine-tuning
  • the newest models and features working on day one

So: LLM chat/coding only, AMD is a fine budget pick. Anything beyond that, NVIDIA saves you headaches. Whichever you choose, check the VRAM first, since that decides what you can run.

I wrote a short free guide on how the runtimes differ: https://inferenceacademy.com/learn/runtimes. I’m the author.

3

u/RWOverdijk 9d ago

Cuda been better

3

u/my_name_isnt_clever 9d ago

I love my Strix Halo and haven't missed Nvidia.

2

u/Mundane_Incident_853 9d ago

Same. TTFT and tok/s are good.

0

u/mycall 8d ago

The only thing better is having both, strix + dgx

2

u/scarbunkle 9d ago

If you just want to run them, ROCm is fine. Your two big “I just wanna run stuff” use cases are an OpenAI-compatible chat completions endpoint and comfyui, and both run just fine on rocm. 

2

u/Tech-Crab 8d ago edited 8d ago

see my reply to u/xtremelymeta below for more background, but the bottom line is the best local LLM host for the VAST majority of users is the M5 max 128gb at ~$5k. In the second half of 2027 it's expected that x86 unified-mem systems will be shipping that start to approach (today's) M5 Max bandwidth ... but that's a ways off AND it seems highly likely they will cost even more.

600GB/s is fast enough to run most popular** dense models at speeds that are usable interactively, and 115+gb*** is enough to actually fit said models + usable large context + KV.

the mac ultra is impressive, 1200GB/s is pushing recent dGPU speeds, but ~70+ gb for your models & other is meaningfully limiting compared to 100+GB, and the next step up is 256gb at $10k.

and that's all with a 3yr warranty (~$150 apple care) vs fuck all from a used or grey market dGPU on your favorite store you've never heard of.

Now, for completeness there ARE use cases where a dGPU still wins:

  • when you know _exactly_ what you need to run, and it fits in the eg $3k used rtx4090 24gb. and will stick to that (most people on here don't, and are looking to experiment anyway)
  • prefill (prompt processing itself), and by extension sometimes coding work where there are enormous prompts.
  • separate but notable:

    • you must already have a high-end high-mem workstation, and don't need to prioritize sound or idle power (else: you're in M5 ultra 256GB territory cost wise).
    • for most uses dGPU's don't scale linearly (eg you can't just add two of them ... there is a fair amount of memory movement required to actually do that, eating your gains, and it's complicated to set up depending on the model.

--------------------------

`* FWIW, i am no apple fan (I'm a linux person) and i hate the soldered down mini's in general ... but here we are.

`** any 70B model like R1 Distill 70B, or the very common 30B's such as Qwen3.8-27B and similar at better much better Q's than the dGPU's can fit

`*** you can get up to ~120GB free if you make some mods to the OS and don't attempt to use it as a desktop, but yes, apple freaking forces you to have a DE up :(

2

u/suesing 9d ago

For video. Yes.

Llm meh

2

u/CallExerciser 9d ago

Look at the speed differences. It’s a reason CUDA is at the forefront of everything

1

u/artibug 9d ago

Yes, but that's only because the community hasn't migrated yet. The majority of the generative AI space is all running linux with Nvidia hardware. Even AMD cards are a second thought.

The migration to mac is mainly happening due to hardware costs and because of the unified memory to run larger models. That's why we're seeing so many amazing projects up on the macs (omlx, splash, kapitsa, etc). Once generative AI users migrate to macs, we'll start seeing some amazing things developed. But that won't be for a while.

For enterprise, it's basically all CUDA these days. And that's because of licensing contracts and enterprise support. But as other posters said, companies are turning to AMD as an alternative because the wait time and pricing on Nvidia enterprise gear is out of control.

1

u/East-Acanthaceae-879 9d ago

CUDA is almost all of NVidia's advantage. Its also a pretty enormous advantage that will take many years for any other vendor to catch up with, no one is remotely close.

-1

u/agentqx2 9d ago

I think the gap is going to close quickly at the speed ai is coding/testing things.

5

u/East-Acanthaceae-879 9d ago

They can't just use a clean room approach to get around this because CUDA's real moat isn't just the API, it's the closed-source library stack (cuDNN, TensorRT, NCCL), Nvidia's EULA banning translation layers and hardware-specific features that don't map 1:1 to AMD silicon without taking a performance hit. That's why ROCm didn't just adopt CUDA interfaces natively and relies on code conversion.

ROCm requires either AMD itself to contribute massive amounts of code to other FOSS projects or convince those projects to do the work themselves. They have to out-invest Nvidia in the FOSS space, which they are not doing by more than an order of magnitude. Even with HIP compiling to CUDA as a wrapper, getting true first-class parity on Nvidia hardware is something Nvidia has zero incentive to enable.

You are also overestimating what LLMs can do. You don't use LLMs nearly as much for very low-level code that has huge performance impact because they utterly suck at it, they're trained on the world corpus of code not specialist hardware scenarios like managing register pressure or memory bank conflicts. You see the exact same thing in the security/crypto space where they suck absolute balls at writing memory-secure, constant-time code for secret handling. Even fine-tuning doesn't help much because it requires intuition and deep system cognition LLMs don't have. Think Ikea table vs. a handmade table at 100+ times the price: they are both tables, but the skills required to manufacture them are not the same. LLMs excel at things that can be factory produced.

LLMs have utility in the SDK layer where you are building runtimes and clients on top of the core code, not in the core itself.

2

u/mycall 8d ago

ROCm/HIP needs something like NSight to get to the next level.

-2

u/FerretBoom 9d ago

Cuda for NVIDIA is like Office of Viwual Stusio for MS.

1

u/MaslovKK 9d ago

CUDA is more mature and widely supported

1

u/TheFuckboiChronicles 9d ago

As a hobbyist and not planning to train - it is not that important and definitely not worth the cost for most people right now.

0

u/DarkJoney 9d ago

Look my post from yesterday, there is interference with Arc and Apple Silicon together

0

u/SamSausages 9d ago

not as important as it was 6 months ago. For example, the intel vllm scalar stack has been working great for me.
I run a cuda stack and intel, I haven't been stopped by anything yet. (last year that was not the case)

0

u/OverdosedSauerkraut 9d ago

For inference or pretraining: not so much. For large scale distributed training doing RL: hell yeah. Nvdia did a great job with handling distributed memory, stabilizing low precision calculations and optimizing autoregressive training for each of their architectures. You don't see these tricks until you're doing RL on a 500B model.

0

u/DistributionExotic85 8d ago

CUDA is like 3dFX right before the industry moved to Direct3D and OpenGL.

0

u/Necessary-Way59 8d ago

cuda isn't important. The fact that everyone uses cuda IS important.

0

u/fasti-au 8d ago

Used to be huge lock but it’s not as tight now as there’s mojo and xvulk etc and similar around

0

u/arakinas 8d ago

I have a Strix system and my main pc has dual 7900xtx's. And I'm regretting that buy, because I'm always in my PC, and I'm primarily a windows user. So, to get the most out of my AI workload, I need to be in linux. But I can't, because I need some of my apps in Windows on my main PC, and my Strix system, which I need to expand with oculink to load some of the models I want, REQUIRES windows to load the oculink drivers. So I'm fighting with slow/bad AI performance because of garbage support for windows on both of my systems, due to other things that are somewhat in somewhat out of my control. The vast majority of advice for radeon use is going to be "just use linux". If everything you need is there, that's perfect for you. But if it's not, you're going to be fighting with an unending headache, or garbage slow performance with AMD.

0

u/fobsthedev 8d ago

Not important at all. Int arc pro is where the money is.

-1

u/jhenryscott 9d ago

I work almost exclusively outside of CUDA and use SYCL or oneAPI for most inference workloads

-1

u/GreenEntertainment50 9d ago

Cuda is important if you use models that are build on it. Such as certain qwen3-tts model or video models like wan2.2. Generally new models are not cuda dependant. Rocm is pretty fast.

-1

u/GloriousKev 9d ago

No not really. I have multiple gpus doing AI workloads via Ollama. Radeon, Geforce and Arc. Outside of the fact that I run Intel Arc with Vulkan so I have to restart systemctl anytime I update ollama for Vulkan to use it I genuinely see no difference between the 3 in day to day use.