Millie 2 streams a 177B model with million-token context on phones
Original title: Millie 2: Streaming a 177-Billion-Parameter Language Model on Phones at Million-Token Context
On an iPhone 18 Pro it answers a million-token document at 9.9 tokens/s, with weights and attention data occupying 69.5 GB.
Researchers describe Millie 2, which runs a 177-billion-parameter language model with a million-token context on a phone with 12 GB of RAM by streaming weights and attention data. It predicts which experts a layer will use, prefers experts already in RAM, and uses Residency-Biased Attention to score history blocks and fetch missing ones while earlier layers compute. Compressed weights stay fixed while shared scales are trained under the phone's expert-selection constraints. The authors say quality stays close to the parent model and also evaluate browser and Android agents with on-phone inference.
Unconfirmed: Benchmark closeness to the parent model is reported by the authors, without independent scores.
- Compressed weights and attention data occupy 69.5 GB at million-token length.
- Short-context generation reaches 14.1 tokens/s on an iPhone 18 Pro.
- Residency-Biased Attention bonuses blocks whose keys and values are already resident.
- Shared scales are trained under the same expert-selection constraints used on the phone.
- Products
- iPhone 18 Pro
- AI models
- Millie 2
From the original article
1 min read at arxiv.orgMillie 2 runs a 177-billion-parameter language model with a million-token context on a phone with 12 GB of RAM. At that length, its compressed weights and attention data occupy 69. 5 GB.
By Ben Krause · arxiv.org
A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.