🚀NEW COURSEVibe Coding AI Apps with Claude Code 🤖✨Enroll now
Memory

LLM in a Flash

Free while signed in. Answers cite the passages they came from.

First page
LLM in a Flash
The curator’s take

Apple researchers show how to run LLMs larger than available DRAM by streaming weights from flash storage on demand.

Key points
01

Flash as swap: Stores model weights on flash and streams only the rows/columns needed per forward pass into DRAM, exploiting the sparsity of relevant parameters.

02

2x DRAM headroom: Enables running models up to 2x the size of available DRAM without catastrophic slowdown, critical for on-device deployment where memory is tight.

03

Major speedups vs. naive loading: 4-5x faster on CPU and 20-25x faster on GPU compared to naive parameter loading, thanks to selective transfer and row-column bundling.

04

On-device LLM groundwork: Directly enabled Apple's later on-device LLM plans by showing that flash-based streaming can make phone-scale LLM inference practical.

Every Monday
Get next week’s papers.

The same picks and the same summaries, in your inbox. Free, and 176 issues deep.

Subscribe on Substack