olragon

← finds

llm.asm: a 24 KB operating system that only runs Qwen3-0.6B

github.com/alesha-pro · picked up

The llm.asm README: the asm-llm OS boot screen listing the CPU, RAM, the Qwen3-0.6B model and its prefill and decode speed
screenshot of the original page

Alexey Fateev dropped Linux altogether. He wrote an operating system in pure x86-64 assembly, 24,252 bytes, no C, no Rust, no libc, and it does exactly one thing: boot in about 74–94 ms, wake every CPU core, map the Qwen3-0.6B weights (Q8_0, 614 MiB) straight from RAM and open a chat on the VGA screen. On the same AMD EPYC 7642 it runs 31% to 54% faster than llama.cpp on Linux, depending on the thread count, and its output matches PyTorch token for token.

I love the nerve of it. Nobody needs an OS just to chat with a 0.6B model, but the README shows you layer after layer we assume we must have, and what each one costs. It's MIT, and there's an ISO you can boot on a diskless VM.

visit the original →