smolmaxxing runs 16B model on 2013 iPad with 1 GB RAM

Open-source experiment pushes mixture-of-experts models onto decade-old hardware by streaming weights from flash storage and using custom 1-bit kernels.

cpaua3 min9

The hyperionaidev/smolmaxxinggithub.com/hyperionaidev/smolmaxxing project has demonstrated a 16-billion-parameter mixture-of-experts model generating 2.6–4.5 tokens per second on an iPad Air from 2013 — a device with 1 GB of RAM, of which only ~700 MB is usable. The experiment, published under MIT license, documents 165 runs across three devices and releases every patch to llama.cpp that makes it work.

Three devices, three weight classes

The repository benchmarks a 2013 iPad Air (Apple A7, iOS 12.5.7 jailbroken), a Xiaomi TV Box S 3rd Gen (Amlogic S7D, four Cortex-A55, Android 14, no root), and a OnePlus Nord CE 2 (Dimensity 900, two Cortex-A78 + six A55, Android 13, no root). On the iPad the "everyday" model is Bonsai-1.7B at 1-bit quantization delivering 24–26 tok/s; the largest is Ling-mini-2.0 16B at 2.6–4.5 tok/s. The TV box runs Qwen3.5-2B at 7.7 tok/s and the same 16B Ling-mini at 5.1 tok/s. The phone pushes further: Qwen3.6-35B-A3B at 4.9–5.7 tok/s and Qwen3-Next-80B-A3B at 2.6–3.1 tok/s with roughly 3 GB free RAM.

Flash-backed expert paging is the core trick

All three devices keep only a fraction of each MoE model in RAM. Popular experts stay resident; the rest are read from flash on demand while the next layer is prefetched. This lets 8B and 16B models run in ~1 GB and 35B/80B models in ~3 GB. The same llama.cpp patch set also streams dense models larger than RAM at the flash device's full bandwidth. The project's technical write-up quantifies the gain from each technique.

Kernels tailored to each ISA

The patch adds a 1-bit lookup-table kernel, repacked 2-bit and ternary formats for Cortex-A55, and separate variants for the Apple A7 which lacks dot-product instructions. Vocabulary rows that are rarely activated are dropped entirely, shrinking the model footprint further. On the TV box a "headless" mode stops the launcher and Google services during inference to reclaim additional memory.

Ready-to-run artefacts and rebuild scripts

Pre-built GGUF files for each device live on Hugging Face under hyperionaidev. The TV box and iPad models require the patched llama.cpp (stock builds cannot load their pruned heads); the phone models load anywhere but only hit the reported speeds with the expert pager. Setup guides for each platform are in docs/tv-box-setup.md, ipad-air/README.md, and docs/phone.md. The repo also ships tools/ for GGUF rewriting, benchmarking, and cross-compiling static aarch64 binaries via Zig.

Lab notebook with failures included

EXPERIMENT.md lists all 165 runs, including configurations that did not work. docs/lessons.md summarises what the authors learned — for example, that naive 4-bit quantization on A7 collapses quality, and that flash paging latency varies wildly across eMMC vendors. The project invites contributors to run a model on their own small device and submit numbers via CONTRIBUTING.md.

Related reading

Sources

hyperionaidev/smolmaxxinggithub.com/hyperionaidev/smolmaxxing
Share

Author

cpaua

VibeCode blog admin. Writing about vibe coding, AI and open source.

Related news

Comments

To leave a comment, log in
Loading...

Weekly digest

The best of vibe coding, AI agents and open source — once a week, no spam.