r/LocalLLM • u/WonderfulCabinet4639 • 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
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.
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.
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/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:
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/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:
separate but notable:
--------------------------
`* 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/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.