High-Bandwidth Flash offers efficient storage for model weights
41 points
1 day ago
| 12 comments
| spectrum.ieee.org
| HN
ACCount37
1 hour ago
[-]
That makes some sense. NAND Flash is massively parallel by its nature. That is rarely exposed outside the die though. You'll have that 8 bit double data rate bus and you'll learn to like it.

Now that model inference at scale is a thing though? Model weights, cached prefixes? There's a considerable demand for "slow writes, fast high bandwidth reads" memory. And every bit of storage you didn't have to use RAM for you can use for fatter KV cache instead.

reply
sixdimensional
5 hours ago
[-]
So like.. conceptually kind of like memory mapped files on fast flash persistent storage, IIUC? Or maybe it's more like GPU-managed demand paging, caching and DMA? That could get you the capacity and better I/O characteristics.

I'm curious about how the unifying architecture is going to evolve between CPU/GPU having direct access to a singular pool of memory/storage also.

I also keep wondering when memristor technology might enter the ring, because as I understand it, it would be like moving compute into the memory, which would potentially remove the need to move the data in and out of storage as much also.

It feels like computing hardware infrastructure is fundamentally evolving.

reply
AlphaSite
1 hour ago
[-]
AMD had an interesting take on this around a decade ago. Never went anywhere but very cool tech.
reply
hankbond
4 hours ago
[-]
Necessity being the mother of all invention. I also thought the compute-in-memory approach was interesting re: https://mythic.ai
reply
jmward01
3 hours ago
[-]
I didn't see cost. If cost is similar to flash drives then this could be massive. Every GPU ships with a lot of ram still but for AI inference and games you have 10TB of this stuff to stuff all your textures into and all your model weights in. For fine tuning models this would also be great if using lora or similar.
reply
ACCount37
1 hour ago
[-]
I expect it to be closer to flash than to RAM, but still expensive. It'll require some special NAND flash dies, and "good" dies too.

Although they'll be able to do the usual thing, and "recycle" the bad dies by selling them off to be used in normal flash drives and SD cards.

reply
trollbridge
4 hours ago
[-]
I've been wondering when we'd get around to having the equivalent of "memory that runs at very GDDR6 speeds for reading, but is much slower for writing", which is exactly what you need when working with an AI model. Versus current HBM which has the same speeds writing as reading.
reply
dlcarrier
3 hours ago
[-]
Intel really missed out, when they discontinued the Optane line, right before the RAMpocalypse.
reply
Weryj
1 hour ago
[-]
Wasn’t quite right before, but Optane was sold off, so it’s sad the buyer just sat on the IP.

Also the selling point was latency, but I suspect we’ll see bandwidth being the important metric with AI using deep pipelines to stream in the weights in a latency insensitive manner.

reply
ramshanker
1 hour ago
[-]
I hope it brings the RAM prices down!
reply
dabinat
50 minutes ago
[-]
It certainly could in the long-term but the spec is still being finalized and realistically a few years away from being able to put a dent in the HBM memory market.
reply
imtringued
58 minutes ago
[-]
This feels like an exceptionally bad tradeoff. HBM is expensive due to the packaging cost and yield problems. Now you're trading the relatively inexpensive but high performance DRAM for Flash while splitting the addressable market into training and inference only hardware.

The low capacity of HBM isn't really a mistake. It's a design decision to keep the bandwidth to capacity ratio high. HBM systems with 96GB of memory tend to have around 3.5 TB/s which is a ratio of 35:1, meaning your theoretical maximum is 35 tokens of inference per second assuming you use the full storage just for parameters.

If you massively increase the capacity but keep the bandwidth the same, you just end up lowering this ratio. Your system is overall smaller, but it also has less performance.

This makes High-Bandwidth Flash an extremely niche product or the equivalent of industrially processing lampante olive oil and mixing into high quality olive oil. E.g you're spending an extreme amount of effort on making a worse product that is only marginally cheaper in absolute terms, but more expensive in terms of price to performance ratio.

reply
UltraSane
2 hours ago
[-]
Why doesn't someone bring back optane?
reply
wills_forward
4 hours ago
[-]
stick enough floppy's in parallel and you could do the same thing
reply
readthenotes1
4 hours ago
[-]
Go ahead, take it further.

Imagine you are immensely intelligent beings who project into our space-time Continuum as mice. You need a lot of memory and processing but you don't need it quick. What do you do?

(With apologies to Douglas Adams)

reply
Animats
4 hours ago
[-]
Good use case for fast read, slow write.
reply
cuu508
4 hours ago
[-]
I have fond memories of Flash 5 in early 2000s. At the time I knew BASIC and Pascal. I could figure out how to draw things, how to animate them using keyframes and motion tweening, and how to make things interactive with ActionScript, all by poking around and reading the help manual (F1) on our underpowered offline PC.
reply