Streaming experts

AI-generated summary of reporting by Simon Willison’s Weblog. Read the original for the full story.

Why it matters

Streaming expert weights from SSD lets trillion-parameter open models run on consumer Macs and even iPhones, removing the RAM barrier to local inference of frontier-scale models.

Read this as

A trick called 'streaming experts' lets huge AI models run on computers with far less memory than the models need. The model keeps only the small parts it actively uses in RAM, pulling the rest from the disk as needed. A 1 trillion-parameter model (Kimi K2.5) ran on a laptop with 96GB of memory, and a 397-billion-parameter model ran on an iPhone, though very slowly at 0.6 words per second.

Mixture-of-Experts models can now stream their rarely-used weights from disk, so a 1 trillion-parameter Kimi K2.5 runs on a 96GB MacBook and a 397B model runs on an iPhone. This shrinks the hardware barrier to local AI inference, cutting cloud dependence for organisations that can accept slow speeds, around 1.7 tokens/second on a 128GB M4 Max. Dan Woods and collaborators are running automated optimization loops to speed it up further.

The technique streams MoE expert weights from SSD per token, keeping only active weights (e.g. 32B of Kimi K2.5's 1T parameters) in RAM. Dan Woods ran Qwen3.5-397B-A17B in 48GB RAM; @seikixtc ran Kimi K2.5 in 96GB on an M2 Max; Daniel Isaac got ~1.7 tokens/second on a 128GB M4 Max. @anemll's iPhone port of Qwen3.5-397B-A17B manages only 0.6 tokens/second, with code on GitHub (flash-moe iOS branch).

Read the original

This summary exists to save you time, not to replace the source.

Key terms

Kimi K2.5 Qwen3.5-397B-A17B M2 Max M4 Max flash-moe

Was this summary useful?

One click, anonymous. It tells us which summaries to re-run.

Related reading

datasette-charts 0.4a0

Datasette now lets developers add custom chart types more easily, expanding visualisation options for data projects.