I'm making LLMs work on small and old devices github.com · 286 points · 98 comme...

@best30

I'm making LLMs work on small and old devices github.com · 286 points · 98 comments · HN thread

TL;DR A GitHub project called smolmaxxing, published by the AI company Hyperion, runs large language models (up to 16B mixture-of-experts) on old, low-RAM hardware: a Xiaomi TV Box S (3rd Gen) with about 1 GB usable RAM and a jailbroken iPad Air (2013) with about 700 MB usable. It uses a patched llama.cpp with custom kernels and streams expert weights from flash, with every number measured on the device. The HN thread is mostly enthusiastic but skeptical about practical use, and many commenters debate whether AI-written work and small models are worth the effort.

  • Targets: Xiaomi TV Box S (3rd Gen), Amlogic S7D with 4 Cortex-A55 cores and 1.9 GB RAM (about 1 GB usable), and iPad Air (2013), Apple A7 with 1 GB RAM (about 700 MB usable), jailbroken on iOS 12.5.7.
  • Reported speeds: Qwen3.5-2B at 7.7 tok/s on the TV box; Bonsai-1.7B (1-bit) at 24-26 tok/s on the iPad; Ling-mini-2.0 (16B MoE) at 5.1 tok/s on the TV box and 2.6-4.5 tok/s on the iPad.
  • Techniques: a 1-bit lookup-table kernel, repacked 2-bit and ternary formats for the A55, a no-dot-product version for the A7, dropping rarely used vocabulary rows, and a 'headless' mode that stops launcher and Google services.
  • Mixture-of-experts models keep popular experts in RAM and read the rest from flash on demand with next-layer prefetching, which is how 8B and 16B models run in about 1 GB.
  • The patched llama.cpp is required; stock llama.cpp cannot load the provided model files. The repo logs 160 experiments, including failures, and is MIT licensed.
  • The author says more devices (phones, single-board computers, routers) are planned, and the project is partly a search for techniques that transfer to other low-resource hardware.

Discussion The thread is a mix of playful suggestions for even more challenging hardware (Playdate, PS2 dev kit, Pentium-era PCs, ESP32s, Wii, SGI boxes), links to similar projects, and sharp questions about whether tiny models are useful at all. Several commenters suspect the project and its replies were largely generated with Claude, which the author admits to, saying he directs the experiments while the agent does much of the work. Mood is friendly and curious, with a notable undercurrent of skepticism about AI-assisted projects and the practical value of models at this size.

  • Small models are a fun novelty with little practical use today (many): Several commenters say sub-2B models are too weak for tool calling, code, or everyday tasks. The author agrees that they are mostly for experimentation until fine-tuning or better small models arrive.
  • The work is worthwhile research regardless of current usefulness (many): Some argue that community research on efficient inference matters because large vendors have little incentive to make models lightweight. Others praise the demoscene spirit of asking what can run on old hardware.
  • AI-assisted projects are easy to make and not very impressive (some): A few commenters say an agent can now produce a similar engine in one prompt, and dismiss the work as slop. Others reply that the value lies in the search over kernels and configurations, not the code generation.
  • Fine-tuned small models already do useful narrow work (some): Commenters describe speech recognition, log summarization, cleaning messy healthcare free-text data, and fine-tuned 1-2B models on customer data as practical uses. The author shares this view for narrow tasks.
  • Qwen small models are poor choices for tiny devices (a few): One commenter argues Qwen scales down badly and recommends models like Gemma E2B, LFM, or Granite for real tiny-model work, citing an analysis site.
  • Old hardware and e-waste are good targets (a few): Some suggest old thin clients, routers, and printers as homes for models, and one person has already run a 0.8B model on an old Dell Wyse thin client's iGPU.

Links from the comments

#localLLM #edgeComputing #llamaCpp #oldHardware #quantization #mixtureOfExperts