A hobbyist’s 24-kilobyte operating system can boot into a Qwen3 chat prompt in under a tenth of a second. The more consequential claim is that its hand-built inference stack generates text faster than the popular llama.cpp runtime on one tested server. The figures are intriguing—but they do not show that deleting Linux, by itself, makes language models faster.
The project, published by developer Alexey Fateev under the GitHub name alesha-pro, runs Qwen3-0.6B directly from a small x86-64 assembly kernel. Its repository reports a stripped kernel binary of 24,252 bytes, a 74–94 millisecond boot-to-chat time, and up to 134.9 generated tokens per second on an AMD EPYC 7642 system using 16 virtual CPUs.
What is being compared
The repository’s benchmark table puts the bare-metal build beside llama.cpp on the same EPYC host, using Qwen3-0.6B in nominal Q8_0 quantization but different model-file formats: the bare-metal `.asmbin` v2 file is about 613.66 MiB, while the llama.cpp GGUF file is about 604.15 MiB. At four threads, the author reports 78.89 tokens per second for the bare-metal build and 51.08 for llama.cpp—about 54% more decode throughput. At 16 threads, the listed rates are 134.94 and 103.03 tokens per second, respectively.
But the project also includes a separate 14.7 KB assembly inference program that runs on Linux. On the same table, that version reaches 69.24 tokens per second at four threads, 35.6% above llama.cpp; at 16 threads, its 121.86 tokens per second is 18.3% higher. The bare-metal implementation adds roughly another 10% over the project’s own Linux version in the cited configuration. That makes the operating-system comparison more modest than the headline comparison.
The author attributes the gains to several engineering choices, not simply the absence of Linux: hand-written AVX2 integer matrix kernels, parallel attention work, memory layout and prefetching, and, for the bare-metal build, 2 MiB huge-page mappings. These are implementation differences in the model runtime and memory setup. A 24 KB kernel does not mean the model fits in 24 KB: the repository says the quantized weights occupy roughly 614 MiB, with additional memory for runtime state and the key-value cache used to remember prior tokens.
A useful demonstration, not an independent benchmark
The public repository documents the comparison as three-run averages, using a 34-token prompt and 64 generated tokens. The compared files represent the same model and nominal Q8_0 quantization in different formats, not identical files. The repository also notes a difference in prompt processing: llama.cpp batches prompt prefill while the assembly implementation processes tokens one at a time. The table’s decode-throughput numbers therefore should not be read as a complete comparison of end-to-end latency or performance across different prompts, machines, model sizes or serving workloads.
The repository includes scripts for parity checks and benchmarking, and reports exact agreement on 64 generated greedy tokens against a PyTorch FP32 reference for the cited configuration. That is a useful check that the optimized implementation produces the same output for that test; it does not independently validate the speed measurements. The benchmark, test harness and implementation come from the project author, and this article has not independently reproduced them.
There is a practical lesson here: for small models on CPUs, optimized kernels and careful memory handling can matter as much as the operating-system label. The project is a striking low-level engineering exercise and a testable public artifact. Its numbers are evidence for what this particular implementation reports on this particular hardware—not proof that a 24 KB operating system generally makes AI inference 54% faster.
Sources
- Project README and benchmark methodology (repository accessed November 28, 2026): author-published measurements and test claims; not independently reproduced for this article.
- Project repository: implementation overview and comparison table.
- Tom’s Hardware report, published November 28, 2026: secondary coverage of the project.