Although for inferencing, memory bandwidth is the most important, FLOPS still matter. APUs are just too slow, so the bottleneck will get shifted to calculating all those matrix operations (provided there's high bandwidth designed for APUS like Apple which I doubt so)
LocalLLaMA
Community to discuss about Llama, the family of large language models created by Meta AI.
Unlikely. As far as I understoodd, first limit is not even matrix multiplication cores, it's memory bandwith and solution for this is faster RAM and multi-channel connections.
Ram memory bandwidth is still gunna screw you over.
It’s vaguely how the Mac’s work.
The current APUs are still quite slow but maybe it’ll change. Also in most cases you need to designate memory as gpu specific. So not quite shared
The new oryon cpu from Qualcomm looks pretty good, pretty much better than m2 but for windows.
A chip that won't be available for ~6 months will be better than a chip that came out a year ago? Amazing ;)
It AMD would put out an APU with 3D VCache and quad channel memory that lets you use all four slots at full speed (6000 mt/s or better) and not cripple it in the bios they could be kicking Apple tail.
I'm not sure if 3D cache would help in this case, since there isn't a particular small part of the model that could be reused over and over: you have to read _all_ the weights when inferring the next word, right?
But I'm definitely looking forward to the 8000 series, since AM5 boards should get even cheaper by the time it comes out, and support for faster DDR5 should get better as well. And I really need to move on from my 10 years old Xeon haha..
I didn't think so either about the 3d vcache until the article about getting 10X the performance from a ramdrive that came out a few days ago. If it works for ramdrives then surely we can figure a way to use that performance for inferencing.
It's not going to help because the model data is much larger than the cache and the access pattern is basically long sequential reads.
It might help for LLMs since a lot of values are cached after each loop, but still highly unlikely to make a difference.
Does anybody have benchmarks or numbers to compare token/sec relatives to GPU, DDR4, DDR5 and CPU inference ? I don't care what hardware and LLMs, just to get a rough idea.
It's not that CPUs are slow it's that typically RAM that the CPU is connected to is slow.
That's why unified memory is fast it's just faster and connected to the CPU.
The UMA has a lot more to do with the speed than distance, and GPU has a much different architecture and memory access patterns than a CPU.
4 channel ddr5 above 6400mhz should get 200 gb/s bandwidth. I wonder how many token/s that setup would get on 34B and 70B models.