⬢github Assembly · 492 ★ +286 since we first saw it · pushed 13 h ago · MIT
alesha-pro/llm.asm
Qwen3-0.6B inference (12 KB), bare-metal bootable OS (22 KB), and from-scratch Mini-GPT trainer with live Braille TUI (32 KB) in 100% pure x86-64 NASM assembly. Zero C, zero libc, zero dependencies.
llm.asm is three LLM projects written entirely in x86-64 NASM assembly with no C, libc, or dependencies: a 14 KB inference binary for Qwen3-0.6B with its own AVX2 math kernels and tokenizer, a 24 KB bootable bare-metal OS that runs the same model with a VGA chat console, and a 33 KB from-scratch Mini-GPT trainer with AdamW and a live Braille-terminal training UI.
Why now: It's being discussed on Hacker News ('Bare Metal Qwen') because the README claims its hand-written assembly beats llama.cpp CPU decode by 18–36% on Qwen3-0.6B, including running chat directly on bare metal without an OS.
Who it is for: Systems/assembly enthusiasts, OS developers, and performance-minded engineers curious about hand-written SIMD kernels for LLM inference.
assemblyavx2bare-metalllmmachine-learningnasmosdevqwentransformerx86-64
Stars over our 22 snapshots: 206 to 492, since 5 h ago.
Where people talked about it
- Yhn Bare Metal Qwen 9 min ago
API: https://socialmediatrends-api.osmike.com/v1/repos/alesha-pro/llm.asm