News for hackers. Stuff that matters.
Re:Apple M3 Ultra by spiderfarmer on Wednesday March 05, 2025 @10:38AM (#43267990)
You can use Thunderbolt 5 interconnect (80Gbps) to run LLMs distributed across 4 or 5 Mac Studios.
Re:Apple M3 Ultra by atwrk on Wednesday March 05, 2025 @11:14AM (#43268547)
But 80Gbit/s is way slower than even regular dual channel RAM, or am I missing something here? That would mean the LLM would be excruciatingly slow. You could get an old EPYC for a fraction of that price and have more performance.
Re:Apple M3 Ultra by wmf on Wednesday March 05, 2025 @11:59AM (#43269233)
The weights don't go over the network so performance is OK.
Re:Apple M3 Ultra by atwrk on Wednesday March 05, 2025 @01:25PM (#43270310)
If I'm not mistaken, each token produced roughly equals the whole model in memory transfers (the exception being MoE models). That's why memory bandwidth is so important in the first place, or not?
Re:Apple M3 Ultra by wmf on Wednesday March 05, 2025 @04:12PM (#43272492)
My understanding is that if you can store 1/Nth of the weights in RAM on each of the N nodes then there's no need to send the weights over the network.
Re:Apple M3 Ultra by unsatchmo on Thursday March 06, 2025 @11:37AM (#43282138)
You're correct about the weights: each machine could in fact store all of the weights. However I think you still have to transfer the activations and the KV-Cache while performing inference.
Re:Apple M3 Ultra by whimsicalism on Wednesday March 05, 2025 @10:40AM (#43268009)
why would you ever want to do that remains an open question
Re:Apple M3 Ultra by aurareturn on Wednesday March 05, 2025 @10:53AM (#43268239)
Probably some kind of local LLM server. 1TB of 1.6 TB/s memory if you link 2 together. $20k total. Half the price of a single Blackwell chip.
Re:Apple M3 Ultra by whimsicalism on Wednesday March 05, 2025 @10:59AM (#43268334)
with a vanishingly small fraction of flops and a small fraction of memory bandwidth
Re:Apple M3 Ultra by aurareturn on Wednesday March 05, 2025 @11:26AM (#43268720)
It's good enough to run whatever local model you want. 2x 80core GPU is no joke. Linking them together gives it effectively 1.6 TB/s of bandwidth. 1TB of total memory.

You can run the full Deepseek 671b q8 model at 40 tokens/s. Q4 model at 80 tokens/s. 37B active params at a time because R1 is MoE.

Re:Apple M3 Ultra by burnerthrow008 on Wednesday March 05, 2025 @10:06PM (#43275958)
> with a vanishingly small fraction of flops and a small fraction of memory bandwidth

Is it though?

Wikipedia says [1] an M3 Max can do 14 TFLOPS of FP32, so an M3 Ultra ought to do 28 TFLOPS. nVidia claims [2] a Blackwell GPU does 80 TFLOPs of FP32. So M3 Ultra is 1/3 the speed of a Blackwell.

Calling that "a vanishingly small fraction" seems like a bit of an exaggeration.

I mean, by that metric, a single Blackwell GPU only has "a vanishingly small fraction" of the memory of an M3 Ultra. And the M3 Ultra is only burning "a vanishingly small fraction" of a Blackwell's electrical power.

nVidia likes throwing around numbers like "20 petaFLOPs" for FP4, but that's not real floating point... it's just 1990's-vintage uLaw/aLaw integer math.

[1] https://en.wikipedia.org/wiki/Apple_silicon#Comparison_of_M-...

[2] https://resources.nvidia.com/en-us-blackwell-architecture/da...

Edit: Further, most (all?) of the TFLOPs numbers you see on nVidia datasheets for "Tensor FLOPs" have a little asterisk next to them saying they are "effective" TFLOPs using the sparsity feature, where half the elements of the matrix multiplication are zeroed.

Re:Apple M3 Ultra by whimsicalism on Friday March 07, 2025 @10:23AM (#43290877)
TFLOPS are teraflops not “tensor flops”.

Blackwell and modern AI chips are built for fp16. B100 has 1750 tflops of fp16. M3 ultra has ~80tflops of fp16 or about 4% that of b100