kw.gl

Posts tagged “llama.cpp”

A 30B AI in 10 KB, no OS, on a 1987 laptop

10KILOMIND is a 9,972-byte chat terminal for a Raspberry Pi 4 with no operating system, written in AArch64 assembly: it runs Qwen3-30B-A3B-Instruct (80 of 128 experts, 2.7 bits per weight) from the SD card at 2.7 tokens per second inside a Toshiba T1200 laptop case, with a live map of the experts the model uses. The post covers how it computes a token, how it processes your question while you type, the memory tricks that make it fast and the demoscene tricks that make it small, compared with llama.cpp and llm.asm.