News for hackers. Stuff that matters.
Re:Large language models are having their Stable Diffusion m... by dheera on Sunday March 12, 2023 @01:19PM (#35122963)
Oh that's cool.

On a separate note I never understood why NVIDIA was always so stingy on RAM.

Give us a GPU with 256GB of RAM already. It doesn't need to be that fast, it just needs to be big enough to hold a huge model.

Instead they're still selling RTX4090Ti with 24GB of RAM while the free GPU I got from them at a raffle a few years ago has 32GB. WTF? I would have expected the RTX4090Ti to have 64GB minimum, being the highest-end consumer GPU.

Re:Large language models are having their Stable Diffusion m... by BulgarianIdiot on Sunday March 12, 2023 @01:47PM (#35123452)
Hardware lags use cases by a few years. You don't need that much RAM to game, or to mine crypto. With AI, you need all the RAM. So expect NVIDIA to offer some drastically different products in coming years.

But to me, Mac's architecture is the most inevitable final solution: the GPU becomes part of the CPU, and there's no CPU RAM and GPU RAM, just RAM. Will be great for AI too.

Re:Large language models are having their Stable Diffusion m... by jandrese on Sunday March 12, 2023 @11:28PM (#35130616)
Maybe we need GPUs with DIMM slots? Or maybe a second card that's all memory and connected by the bus they use for dual GPU setups? Sadly both are almost certainly too niche to exist in our current GPU marketplace.
Re:Large language models are having their Stable Diffusion m... by dheera on Monday March 13, 2023 @02:28PM (#35140221)
I feel like they would not be too niche, many AI researchers I know complain about the amount of RAM on a single GPU, especially the ones they or their labs can afford.

Very often multi-GPU training is maxing out RAM on each GPU and isn't making full use of compute capacity.

Re:Large language models are having their Stable Diffusion m... by BulgarianIdiot on Monday March 13, 2023 @05:12PM (#35142745)
GPUs have too many cores, and each of them needs to read and write to RAM really fast, so any such indirection introduced through interfaces like DIMM is an obstacle to performance.

I suspect the future is tightly integrated CPU+GPU+RAM, but we may STILL have DIMM slots to acts as a buffer between "fast" RAM and disk. So your swap file goes from "fast RAM" to "DIMM RAM" before it has to go to disk, basically.

Re:Large language models are having their Stable Diffusion m... by dheera on Monday March 13, 2023 @05:28PM (#35143034)
Conceptually that's already the case i.e. L1 cache -> L2 cache -> RAM -> swapfile

If the definition of RAM is DIMMs then it's really just a matter of merging the CPU and GPU into one unit with a massive L2 cache (or maybe we have an L3 cache) of e.g. 32GB that's able to hold a massive model without cache misses.

Re:Large language models are having their Stable Diffusion m... by jandrese on Monday March 13, 2023 @07:18PM (#35144634)
Seems like AI type work is more memory constrained than per-core performance constrained.
Re:Large language models are having their Stable Diffusion m... by bitRAKE on Monday March 13, 2023 @11:52PM (#35147234)
Long term is fuzzy, but the 3D chip tech seems poised to offer exactly that: massive cache, GPU and CPU cores. NVidia isn't going to play nice because they don't like where this positions them in this future. AMD, Intel and Apple don't seem to need NVidia. This tension is bad for end-users.