25launches

llm.asm

A 24 KB assembly OS that boots straight into an LLM chat

0 followers

Visit github.com (opens in a new tab)

Artificial IntelligenceDeveloper ToolsOpen Source

llm.asm is three LLM programs in pure x86-64 assembly, with no C and no libc. The main one is a 24 KB OS that skips Linux, boots in under 0.1 s and opens a chat with Qwen3-0.6B, its 614 MB of weights loaded in RAM. There is also a 14.7 KB Linux inference binary and a small GPT trainer. CPU only: needs AVX2 and about 2 GB of RAM. You build the ISO yourself; the author tested it in VMs. He reports up to 54% faster decoding than llama.cpp in his own tests. MIT.