llm.asm OS
by Alexey Fateev · Tool · Text & code
A bootable operating system written in x86-64 assembly that starts straight into a chat with a built-in language model, on real hardware or a virtual machine.
Tiny assembly OS that boots straight into Qwen3-0.6B chat; speed claims untested by others
Latest · Nov 2624,252-byte pure x86-64 assembly Multiboot OS with Qwen3-0.6B baked in; no Linux, C, Rust or libc; live multi-turn KV-cache chat over VGA, PS/2 and serial
Why we say so
Alexey Fateev, the maker, says the 24,252-byte OS decodes 31-54% faster than llama.cpp at 1 to 16 threads (134.94 vs 103.03 tok/s at 16) on an AMD EPYC 7642, and that output matches PyTorch FP32 on 64 greedy tokens. The only other voice, 劉 尭 (Ryū Takashi), repeats the announcement and its requirements (AVX2/FMA/F16C, about 1.1 GB RAM, 2,048-token context) without testing it. Nobody independent has run or benchmarked it, and the comparison covers only a 0.6B model on CPU.
Seen running on
| Machine | Speed | How | Seen by |
|---|---|---|---|
| 1 run, memory not given | |||
| 78 tok/s | 0.6B · Q8_0 | ||
Evidence
- Nov 26Pure x86-64 assembly OS, kernel about 24KB, boots straight into chat with Qwen3-0.6BReported劉 尭 (Ryū Takashi)via
PC WatchMaker's claimAlexey Fateevvia
rahlquist - Nov 26Boots in 74 to 94 ms into 64-bit Long Mode, wakes all cores over APIC, maps 614 MiB Q8_0 weights directly from physical RAMMaker's claimAlexey Fateevvia
rahlquist - Nov 26Decode speed 1.31-1.54x that of llama.cpp (CPU, Q8_0) on an AMD EPYC 7642, at 1-16 threadsMaker's claimAlexey Fateevvia
PC Watch
rahlquist - Nov 26In a 16-vCPU VM on an AMD EPYC 7642, 134.94 tok/s versus llama.cpp's 103.03, 31% higherMaker's claimAlexey Fateevvia
PC Watch
rahlquist - Nov 26On a diskless Proxmox VM (12-core Xeon E5-2670 v3, 2 GiB RAM) boots to prompt in under 5 s; 78 tok/s decode, up to 111.5 tok/s prefillMaker's claimAlexey Fateevvia
rahlquist
Show all 9
- Nov 26Output is bit-exact across thread counts and matches all 64 greedy tokens against PyTorch FP32 (0.99965 cosine)Maker's claimAlexey Fateevvia
rahlquist - Nov 26Needs an x86-64 CPU with AVX2/FMA/F16C; model takes 614MiB (FP16 scale) or 649MiB (FP32 scale) plus a 449MiB KV-cache area; runs entirely in RAM.Reported劉 尭 (Ryū Takashi)via
PC Watch - Nov 26No disk driver; OS and model run from RAM, so it boots even in a VM with 0GB disk. Default context 2,048 tokens, KV cache resets near the limit.Reported劉 尭 (Ryū Takashi)via
PC Watch - Nov 26Drivers limited to COM1 serial, 80x25 VGA console, PS/2 keyboard, PIT/RDTSC timing and ACPI power-off; kernel boots to chat prompt in 74-94ms.Maker's claimAlexey Fateevvia
PC Watch