I'm making LLMs work on small and old devices
- ID
- 46120
- Status
- summarized
- Published
- 12 Nov 2026, 11:23 PM
- Fetched
- 13 Nov 2026, 2:19 PM
- Provider
- Hacker News
- Category
- dev-community
- Original URL
- https://github.com/hyperionaidev/smolmaxxing/
- Source URL
- https://hnrss.org/best
Summary
- Score
- 8.0
- Created
- 13 Nov 2026, 2:20 PM
- Tags
- Audience
- developersai_ml_learnersvibe_codersai_agent_users
What happened
smolmaxxing is an MIT-licensed patch on llama.cpp that runs large models on tiny, old hardware, with every number measured on-device. On a Xiaomi TV Box S (3rd Gen, Amlogic S7D, 4× Cortex-A55, ~1 GB usable RAM, Android 14, no root) it runs Qwen3.5-2B at 7.7 tok/s and a 16B Ling-mini-2.0 mixture-of-experts at 5.1 tok/s; on a jailbroken 2013 iPad Air (Apple A7, ~700 MB usable) it runs a 1-bit Bonsai-1.7B at 24-26 tok/s and the same 16B model at 2.6-4.5 tok/s. The tricks are a 1-bit lookup-table kernel plus repacked 2-bit/ternary formats tuned for Cortex-A55 (and A7 variants without dot-product instructions), pruning rarely-used vocabulary output rows, paging experts from flash, and a 'headless' mode that kills the launcher and Google services while a model runs.
Why it matters
This sets a realistic floor for local inference: roughly 1 GB of usable RAM and a low-end ARM CPU gets you a 2B model at ~8 tok/s, and 16B MoE models become technically runnable at 2.6-5.1 tok/s by streaming experts from flash instead of holding them in RAM. If you are scoping an offline or on-device feature, treat 5-8 tok/s as the usable ceiling on this class of hardware and design for short, batchable outputs rather than chat; if you assumed a 16B model needed 8-16 GB of RAM, the flash-paging approach is the part worth reading before you buy hardware.
Discussion angle
Is 5 tok/s on a 16B MoE actually useful, or does the interesting result stay the 24-26 tok/s 1-bit 1.7B on the iPad? Bring whatever old Android box or tablet the group has lying around and compare against these measured baselines.