An iPhone with 12 GB of RAM handled an AI workload spanning 69.5 GB of data

Millie 2 answered a question from a prepared cache of nearly a million tokens on a phone with 12 GB of RAM. Read the full story on CryptoSlateUnderstand the crypto stories that matter and what to watch next. Get The Catalyst in your inbox

An iPhone with 12 GB of RAM handled an AI workload spanning 69.5 GB of data

An iPhone 18 Pro with 12 GB of RAM ran a 177-billion-parameter language model using a prepared cache, and Millie 2 answered a question about nearly a million tokens of FDA material.

The phone pulled pieces of the model and the document’s saved history from flash storage as it generated text, according to a Nov. 30 preprint from LLMs For All.

The cache covered 989,693 tokens of FDA material and regulations. In the answer reproduced in the paper, Millie 2 cited the section on reserve samples for finished drugs. It set the minimum at twice the amount needed for required tests, excluding sterility and pyrogen tests from that calculation, matching the archived federal rule.

That answer came from Ternary, a version of Millie 2 with a 36.9 GB model file, and the run generated 52 tokens at 11.65 tokens per second.

The main compressed Millie 2 model file, called Q3, was 56.3 GB. The phone also needed access to an attention history, the model’s record of the text it already processed.

Together, the compressed text weights and full history came to about 69.5 GB at a million token positions, according to the paper’s memory breakdown.

Millie 2 uses about 6.7 billion parameters per generated token, and keeps an index of the document history in RAM and predicts which weights and chunks of history it will need next.

Related Reading

It reuses data already in memory and starts reading missing pieces while earlier layers of the model are still working.

The index lets the phone look across the saved history while holding only the detailed data it will use. In one Q3 configuration, the weights and history data held in RAM at once came to about 6.1 GB, while other parts of the app used additional memory.

Originally published by cryptoslate Aggregated for informational purposes. All rights belong to the original publisher.
← Back to all news