5 ms·
>And seperate CPUs+dGPUs are what users want on PCs In the age of unified memory and large AI models, that may not be the case for very long.
by flangola7 3y ago
>And seperate CPUs+dGPUs are what users want on PCs
In the age of unified memory and large AI models, that may not be the case for very long.
- smoldesu 3y agoWhat are you talking about? How does a unified memory architecture change the bottlenecks of AI inferencing? The fastest AI servers in existence today only exist in heterogeneous form.
- wmf 3y agoIf you want, say, 70 GB of VRAM your options are either unified memory or pay $35K.
- smoldesu 3y agoOr you can swap to DRAM and stream over PCI. I do that all the time and it works fine, especially since you rarely need to load all 70gb into memory at once. If you're a serious (read: enterprise) customer, you can buy InfiniBand-enabled cards and get duplex bandwidth faster than the M2 Max's entire memory bus. 'Unified memory' isn't even a bullet point on their spec sheet, it means nothing to their customers when they have CUDA primatives that do the same thing faster at a larger scale.
- justinclift 3y ago> and get duplex bandwidth faster than the M2 Max's entire memory bus. Doesn't seem like it. Looking at the wikipedia article for the M2 Max, that says: ... with up to 400 GB/s memory bandwidth. https://en.wikipedia.org/wiki/Apple_silicon#Apple_M2_Max https://en.wikipedia.org/wiki/Apple_silicon#Apple_M2_Max Looking at the current "Nvidia networking" product page, it lists ConnectX-7 adapters with 400Gb/s total bandwidth: https://www.nvidia.com/en-us/networking/infiniband-adapters/ https://www.nvidia.com/en-us/networking/infiniband-adapters/ So, accounting for the bit -> byte unit difference in those figures it seems like having eight ConnectX-7 adapters would roughly match up. However, the data sheet for those adapters seems to say those 400Gb/s adapters are for PCIe Gen5 x32 slots (not the standard x16 ones). Host interface: PCIe Gen5, up to x32 lanes Eight slots of x32 lanes doesn't quite seem possible, even with very latest generation AMD EPYC (9004 series) processors: https://www.amd.com/system/files/documents/epyc-9004-series-processors-data-sheet.pdf https://www.amd.com/system/files/documents/epyc-9004-series-... Those have 128 PCIe Gen5 lanes per cpu. Dual socket systems seem to expand that out a bit, allowing up to 160x usable PCIe lanes in a server. https://www.servethehome.com/pcie-lanes-and-bandwidth-increase-over-a-decade-for-intel-xeon-and-amd-epyc/ https://www.servethehome.com/pcie-lanes-and-bandwidth-increa... So, at least on paper it doesn't seem possible for a single server with a bunch of PCIe Infiniband links to actually match the bandwidth of the M2 Max memory bus. Maybe 3/4 of it though, which isn't terrible. :)
- smoldesu 3y agoInfiniBand is intended to be run in parallel. You could handily exceed the M2 Ultra bandwidth if you ran 4 channels of IB, but rarely do people need more bandwidth than what PCI offers. At least for AI.
- justinclift 3y ago> You could handily exceed the M2 Ultra bandwidth if you ran 4 channels of IB ... Hmmm, that doesn't seem to be the case? Those adapters are 400Gb/s "total bandwidth" each. Not 400Gb/s "each way". And you can't get 8 of those adapters into a server (with x32 links anyway). Where's my calculation going wrong? :)
- smoldesu 3y ago> And you can't get 8 of those adapters into a server (with x32 links anyway). Nvidia's DGX-100 system promises over 3.2Tb/s across 10x Mellanox ConnectX-6 cards. That's their old Epyc system too, with the Grace Superchip you can get 900GB/s of card interconnect and 1TB/s of memory bandwidth. Either one could exceed the bandwidth of the M2 Max's memory. The "each way" shtick is worth contesting, and ultimately comes down to how you use Nvidia's CUDA primatives. Agree to disagree on that - however I think my point still stands. "Unified memory architecture" is an anachronism at that scale, literally rendered obsolete by a unified address space and fast enough interconnect.
- justinclift 3y agoCool. Yeah that's an interesting point about the DGX-100 system. I'd forgotten about those. :) Looking at the data sheet, it seems to have a maximum of 8 single port Nvidia ConnectX-7 adapters: https://resources.nvidia.com/en-us-dgx-systems/ai-enterprise-dgx https://resources.nvidia.com/en-us-dgx-systems/ai-enterprise... Bearing in mind the unit conversions (Tb/s vs GB/s), 3.2Tb/s matches up with the 400GB/s bandwidth of the M2 Max's memory bandwidth. --- Their newly announced Grace and/or Grace Hopper "Superchip" does seem interesting. Haven't (yet) seen now it's supposed to connect to other infrastructure though. Their whitepaper talks about "OEM-defined I/O" but doesn't (in my skimming thus far) indicate what the upper bounds are. May look further later on, but we're pretty far into the weeds already. ;) --- Further along in the whitepaper, it says the "NVLink Switch System" in them communicates with the network at 900GB/s "total bandwidth". If that's indeed the case, they yep they're beating the M2 Max's memory bandwidth (400GB/s). That even beats the M2 Ultra's memory bandwidth (800GB/s): https://en.wikipedia.org/wiki/Apple_silicon#Apple_M2_Ultra https://en.wikipedia.org/wiki/Apple_silicon#Apple_M2_Ultra
- ohgodplsno 3y agoCool story, but nobody wants 70GB of VRAM except the tiniest portion of ultra enthusiasts that already have $35k to blow anyways. Top end GPUs are already extremely rare. Steam reports 0.72% of RTX 4090. Running LLMs and various models locally will not require 70GB of RAM. It'll go down to manageable amounts, or noone except a tiny portion of ultra enthusiasts will run them.
- flangola7 3y ago> Cool story, but nobody wants 70GB of VRAM except the tiniest portion of ultra enthusiasts I already said that may not be the case for very long. Read the entire comment next time. Nobody but the "tiniest portion of ultra enthusiasts" ever needed more than 640K RAM but here we are. >Running LLMs and various models locally will not require 70GB of RAM. It will not require 70GB, it will require far more. Jevons paradox, increased efficiency opens more doors. Almost all AI models are single modal and as small as they will ever be, we have not even trained them on more than text yet and text is microscopic. CommonCrawl? How about training on the entire YouTube media repository. Training on every pixel and audio sample owned by Disney. Training on the 6-axis motion data of every accelerometer with a network MAC.
- smoldesu 3y agoI'm gonna drop a big [Citation Needed] next to your claim that "it will require far more". If you're a consumer, you are not going to be running a 70GB model on your computer for regular purposes. It is too large, loading from disk takes too long, and inferencing would be impossible without a massive GPU to accelerate it. Multimodality be damned, that is just too large for any end-user, let alone Joe Shmoe on his iPhone. If resource consumption increases in AI, that will just further bolster Nvidia's control, and the presence of the cloud for AI compute. I have no idea how you can twist this into an epic win for the M2 Ultra owners who are stuck inferencing with... checks clipboard Metal compute shaders.
- flangola7 3y agoWhen a dark raincloud is rolling in we do not need a citation to say we will be very wet soon. If a person never developed the fundamental ability to anticipate future events based on present observations, I cannot help them with that.