I'm making LLMs work on small and old devices github.com · 62 points · 17 commen...
HN Best 200 @best
I'm making LLMs work on small and old devices github.com · 62 points · 17 comments · HN thread
TL;DR A GitHub project called smolmaxxing reports running LLMs on a 2013 iPad Air (1 GB RAM, CPU only) and a Xiaomi TV Box S (about 1 GB usable RAM), using custom 1-bit and 2-bit kernels, expert paging from flash, and weight streaming. Reported speeds range from about 5 tok/s for 8B–16B models on the TV to 24–26 tok/s for a 1.7B 1-bit model on the iPad. The author has open-sourced the patches, experiments and Hugging Face model files.
- Xiaomi TV Box S (Amlogic S7D, 4× Cortex-A55, ~1 GB usable RAM): Qwen3.5-2B at 7.7 tok/s in chat, Bonsai-8B (1-bit dense) at 5.2 tok/s, Moon-Beam-8B-A1B MoE at 7.2 tok/s, Ling-mini-2.0 16B MoE at 5.1 tok/s.
- First-gen iPad Air (Apple A7, 2 cores, no dotprod, iOS 12.5.7 jailbroken): Bonsai-1.7B 1-bit at 24–26 tok/s, Bonsai-4B at about 10 tok/s, Moon-Beam 8B MoE at about 3.5 tok/s, Ling-mini 16B at 2.6–4.5 tok/s.
- Main techniques: a 1-bit lookup-table NEON kernel, Q2_K and ternary repacks, a pruned LM head (about 65K rows), headless mode that force-stops Android launchers to free RAM, and an expert pager that reads missing MoE experts from flash with routing bias and prefetch.
- The main limit is flash bandwidth (about 278 MB/s on the TV), so models larger than RAM are bounded by bytes streamed per token; mixture-of-experts models touch only a fraction of weights per token and are the workaround.
- Quality is measured as bits per byte on a fixed English text; aggressive 2-bit experts cause long answers to loop after roughly 250–300 words, which a repeat penalty mitigates.
- All claims are measured on the devices; the repo includes EXPERIMENT.md (E1–E160), build scripts, and model downloads on Hugging Face under hyperionaidev.
Discussion The thread is a mix of admiration for the engineering and skepticism about practical use. Several commenters question what sub-3B-class or heavily quantized models are actually good for, while others argue that the research direction matters even if current outputs are weak. The project author (mrashad74) joins in, saying the code is open and asking for a harder target device, which prompts playful suggestions like a vape, a Playdate, or older Raspberry Pis. The mood is friendly and curious, with a side thread about running LLMs on retro hardware generally.
- Impressive engineering and worth pursuing on old hardware (many): Several commenters praise the project as technically sweet and see value in reviving old devices. They say the research matters even when current outputs are limited, and they want to see it applied to other old hardware such as older flagship phones.
- Small models are too weak to be practically useful (some): Some commenters question the practical utility of models this small. One says they are too dumb for tool use and produce poor answers even to simple questions, so the real-world use case is unclear.
- Agents can now write such engines quickly (a few): One commenter argues that current coding agents can produce a working inference engine for a given device from a single prompt, so the hard part is now getting the hardware and SSH access rather than the software.
- Old hardware still useful for homelab tasks (a few): A commenter notes that repurposed thin clients run Pi-hole, VPNs, backup servers and registries well, supporting the broader idea that old gear remains capable with the right software.
Links from the comments
- A tinystories LLM running on the Nintendo Wii, including GPU acceleration.
- Site describing repurposing old thin clients as homelab Linux machines.
#llm #edgeComputing #quantization #oldHardware #inference #mobile