30B model runs bare-metal on Raspberry Pi 4 in 10KB of assembly at 2.7 tok/s
Obijuan_cube · x · 2026-12-02
A project called 10KILOMIND implements a bare-metal chat terminal in under 10KB of AArch64 assembly, running the 30B-weight Qwen3-30B-A3B model on a Raspberry Pi 4 with no operating system at 2.7 tokens per second — even squeezed into a 1987 Toshiba T1200 case.
The tokenizer, USB keyboard and SD card drivers, screen and font are all hand-written assembly. The key insight is a memory-bandwidth lesson from MoE: only 8 of 128 experts are active per token per layer, so only 3B weights are streamed per token, combined with 2-3 bit GGUF weights multiplied on the fly without dequantizing.
More from Infra
- Open-source out-of-order Pentium Pro-class x86 CPU z86 boots Win95 and Doom on a $250 FPGA — Obijuan_cube · 2026-12-02
- Unverified Buffett death news revives his anti-hype lens on AI CapEx and hardware inflation — Objective001 · 2026-12-02
- SpaceX builds in-house construction army 'Army X' with 6,500 Memphis jobs to speed AI data center buildout — XFreeze · 2026-12-02
- Data centers cluster in America's richest counties, chart shows — sudoraohacker · 2026-12-02
- Fully open-source FPGA toolchain lands for the $4 Vicharak Shrike board — Obijuan_cube · 2026-12-02
- Running torch nightly with CUDA 13.5 on 8x V100 via volta-forever, agent-driven setup — QuixiAI · 2026-12-02