So, in essence, all AMD does to launch a successful GPU in inference space is to load it with ram?
Re:Qwen2.5-VL-32B: Smarter and Lighter
by TrueDuality on Monday March 24, 2025 @07:03PM
(#43466327)
AMD's limitation is more of a software problem than a hardware problem at this point.
But it’s still surprising they haven’t. People would be motivated as hell if they launched GPUs with twice the amount of VRAM. It’s not as simple as just soldering some more in but still.
AMD “just” has to write something like CUDA overnight. Imagine you’re in 1995 and have to ship Kubuntu 24.04 LTS this summer running on your S3 Virge.
Re:Qwen2.5-VL-32B: Smarter and Lighter
by mirekrusin on Tuesday March 25, 2025 @01:11AM
(#43468279)
They don't need to do anything software wise, inference is solved problem for AMD.
Re:Qwen2.5-VL-32B: Smarter and Lighter
by regularfry on Tuesday March 25, 2025 @07:33AM
(#43470016)
Funnily enough you can buy GPUs where someone has done exactly that: solder extra VRAM into a stock model.
Re:Qwen2.5-VL-32B: Smarter and Lighter
by thomastjeffery on Tuesday March 25, 2025 @10:16AM
(#43471640)
They sort of have. I'm using a 7900xtx, which has 24gb of vram. The next competitor would be a 4090, which would cost more than double today; granted, that would be much faster.
Technically there is also the 3090, which is more comparable price wise. I don't know about performance, though.
VRAM is supply limited enough that going bigger isn't as easy as it sounds. AMD can probably sell as much as they get their hands on, so they may as well still more GPUs, too.
Re:Qwen2.5-VL-32B: Smarter and Lighter
by yencabulator on Tuesday March 25, 2025 @01:48PM
(#43473969)
Or let go of the traditional definition of a GPU, and go integrated.
AMD Ryzen AI Max+ 395 with 128GB RAM is a promising start.
Oh, I have a question, maybe you know.
Assuming the same model sizes in gigabytes, which one to choose: a higher-B lower-bit or a lower-B higher-bit? Is there a silver bullet? Like “yeah always take 4-bit 13B over 8-bit 7B”.
Or are same-sized models basically equal in this regard?
Re:Qwen2.5-VL-32B: Smarter and Lighter
by anon373839 on Tuesday March 25, 2025 @02:07AM
(#43468489)
I would say 9 times out of 10, you will get better results from a Q4 model that’s a size class larger than a smaller model at Q8. But it’s best not to go below Q4.
My understanding is that models are currently undertrained and not very "dense", so Q4 doesn't hurt very much now but it may in future denser models.
Re:Qwen2.5-VL-32B: Smarter and Lighter
by anon373839 on Tuesday March 25, 2025 @11:38AM
(#43472624)
That may well be true. I know that earlier models like Llama 1 65B could tolerate more aggressive quantization, which supports that idea.
There is additional memory used for context / KV cache. So, if you use a large context window for a model, you will need to factor in several additional gigabytes for that, but it is much harder to provide a rule of thumb for that overhead. Most of the time, the overhead is significantly less than the size of the model, so not 2x or anything.
The most important thing for local LLM performance is typically memory bandwidth. This is why GPUs are so much faster for LLM inference than CPUs, since GPU VRAM is many times the speed of CPU RAM. Apple Silicon offers rather decent memory bandwidth, which makes the performance fit somewhere between a typical Intel/AMD CPU and a typical GPU. Apple Silicon is definitely not as fast as a discrete GPU with the same amount of VRAM.
That's about all you need to know to get started. There are obviously nuances and exceptions that apply in certain situations.
A 32B model at 5 bits per parameter will comfortably fit onto a 24GB GPU and provide decent speed, as long as the context window isn't set to a huge value.