Millie 2 fa girare un modello da 177 miliardi di parametri su un iPhone con 12 GBMillie 2 runs a 177-billion-parameter model on a 12 GB iPhone
Un progetto indipendente porta un modello MoE da 177 miliardi di parametri su un iPhone 18 Pro, leggendo gli esperti dalla memoria flash. Produce 14,1 token al secondo, che scendono a 7,6 con 2,5 milioni di token di contesto.
An independent project brings a 177-billion-parameter MoE model to an iPhone 18 Pro by reading experts from flash storage. It produces 14.1 tokens per second, falling to 7.6 at 2.5 million tokens of context.

Il progetto llmsforall, guidato da Ben Krause, ha pubblicato Millie 2, un sistema che esegue su un iPhone 18 Pro con 12 GB di memoria un modello da 177 miliardi di parametri. Il modello è derivato da Qwen3.8-Flash-Next ed è del tipo mixture of experts: ogni livello ha 512 esperti, e per ogni token ne lavorano dieci. I pesi restano nella memoria flash del telefono, e solo gli esperti necessari vengono caricati. La memoria attiva è di circa 6 GB.
A contesto breve il sistema genera 14,1 token al secondo. Con un milione di token scende a 9,9, e a 2,5 milioni a 7,6. La versione quantizzata a 2,54 bit per peso occupa 56,3 GB, quella ternaria a 1,66 bit 36,9 GB. Su GPQA fa 91,9 contro 90,4 del modello di partenza, ma su HumanEval+ perde, con 92,1 contro 95,7. I risultati sono degli autori.
The llmsforall project, led by Ben Krause, has published Millie 2, a system that runs a 177-billion-parameter model on an iPhone 18 Pro with 12 GB of memory. The model is derived from Qwen3.8-Flash-Next and is a mixture of experts: each layer has 512 experts, and ten work on each token. The weights stay in the phone's flash storage, and only the needed experts are loaded. Active memory is about 6 GB.
At short context the system generates 14.1 tokens per second. At one million tokens it falls to 9.9, and at 2.5 million to 7.6. The version quantized to 2.54 bits per weight takes 56.3 GB, the ternary one at 1.66 bits 36.9 GB. On GPQA it scores 91.9 against 90.4 for the starting model, but on HumanEval+ it loses, with 92.1 against 95.7. The results are the authors' own.
Millie 2 è un sistema di inferenza locale descritto in un paper su arXiv e pubblicato su GitHub dal gruppo llmsforall, il cui primo autore è Ben Krause. L'obiettivo è dimostrare che un modello di frontiera può girare su uno smartphone, senza server. Il test è stato fatto su un iPhone 18 Pro con 12 GB di memoria. Il modello è un derivato di Qwen3.8-Flash-Next con 177 miliardi di parametri totali.
Il trucco sta nell'architettura. Un modello mixture of experts divide ogni livello in molti esperti, ma per ogni token ne consulta solo pochi. Qui ci sono 512 esperti per livello e ne lavorano dieci, per circa 6,7 miliardi di parametri attivi. Gli altri possono restare nella memoria flash, che sul telefono è molto più capiente della RAM. Il sistema legge dalla flash solo gli esperti richiesti, e la memoria attiva resta intorno ai 6 GB.
Leggere dalla flash è lento, quindi conta scegliere bene che cosa caricare. Gli autori propongono la Residency-Biased Attention, un'attenzione che tiene conto di quali esperti sono già in memoria. Per ogni blocco di quattro token mantiene un indice di soli 132 byte. L'idea è favorire scelte che riusino ciò che è già presente, riducendo gli accessi alla flash senza cambiare troppo l'output del modello.
Per far stare i pesi nel telefono servono compressioni forti. La versione quantizzata a tre bit, che in media usa 2,54 bit per peso, occupa 56,3 GB. Quella ternaria, a 1,66 bit per peso, scende a 36,9 GB. Nessuna delle due entra nei 12 GB di RAM, ed è per questo che servono la flash e il caricamento selettivo degli esperti.
La velocità dipende dalla lunghezza del contesto. A contesto breve il sistema produce 14,1 token al secondo. Con un milione di token ne produce 9,9, e con 2,5 milioni 7,6. Sono valori utilizzabili per una chat, anche se lontani da quelli di un server. Sulla qualità, la versione a tre bit totalizza 91,9 su GPQA contro 90,4 del modello genitore, 92,1 su HumanEval+ contro 95,7 e 78,4 su SWE-bench Verified contro 80,6.
Il quadro è quindi misto: il modello compresso guadagna su una prova di ragionamento scientifico e perde un poco su programmazione e ingegneria del software. Va ricordato che i dati vengono dagli autori e che manca una verifica indipendente. Restano da misurare anche consumo di batteria e surriscaldamento, che nelle fonti consultate non sono quantificati. Il risultato, comunque, mostra dove si sposta il collo di bottiglia: dal calcolo alla banda della memoria.
Millie 2 is a local inference system described in an arXiv paper and published on GitHub by the llmsforall group, whose first author is Ben Krause. The goal is to show that a frontier model can run on a smartphone, with no server. The test was done on an iPhone 18 Pro with 12 GB of memory. The model is a derivative of Qwen3.8-Flash-Next with 177 billion total parameters.
The trick lies in the architecture. A mixture-of-experts model splits each layer into many experts, but for each token it consults only a few. Here there are 512 experts per layer and ten work at a time, for about 6.7 billion active parameters. The others can stay in flash storage, which on a phone is far larger than RAM. The system reads from flash only the requested experts, and active memory stays around 6 GB.
Reading from flash is slow, so choosing well what to load matters. The authors propose Residency-Biased Attention, an attention that takes into account which experts are already in memory. For each block of four tokens it keeps an index of just 132 bytes. The idea is to favour choices that reuse what is already present, cutting flash accesses without changing the model's output too much.
To fit the weights in the phone, strong compression is needed. The three-bit quantized version, which on average uses 2.54 bits per weight, takes 56.3 GB. The ternary one, at 1.66 bits per weight, drops to 36.9 GB. Neither fits in 12 GB of RAM, which is why flash storage and selective loading of experts are needed.
Speed depends on context length. At short context the system produces 14.1 tokens per second. At one million tokens it produces 9.9, and at 2.5 million 7.6. These are usable values for a chat, although far from a server's. On quality, the three-bit version scores 91.9 on GPQA against 90.4 for the parent model, 92.1 on HumanEval+ against 95.7 and 78.4 on SWE-bench Verified against 80.6.
The picture is therefore mixed: the compressed model gains on a scientific reasoning test and loses a little on programming and software engineering. It should be remembered that the data comes from the authors and that independent verification is missing. Battery use and overheating also remain to be measured, and are not quantified in the sources consulted. The result nevertheless shows where the bottleneck moves: from computation to memory bandwidth.
Fonti
- Fonte originale arXiv: Millie 2 arxiv.org
- Fonte originale Repository GitHub llmsforall/millie-runtime github.com
- Testata llmsforall: Millie 2 llmsforall.com
Articoli rivisti con l’intelligenza artificiale. A cura di Alessandro Patassini.Articles reviewed with artificial intelligence. Edited by Alessandro Patassini.




























