llm.asm repo: Qwen3 inference, bare-metal OS and GPT trainer, all in NASM
heyshrutimishra · x · 2026-11-26
The llm.asm repo (alesha-pro/llm.asm, 1.1k stars, MIT) is now linked along with a demo video. It contains three complete projects in 100% pure x86-64 NASM assembly with zero dependencies:
- Qwen3-0.6B inference (12KB): BPE tokenizer, AVX2+FMA+F16C GEMM/GEMV engine, hand-written RMSNorm/RoPE/SiLU/Softmax kernels
- Bare-metal bootable OS (22KB): SMP kernel with a clone()/futex() thread pool
- From-scratch Mini-GPT trainer (32KB) with a live Braille TUI
Includes benchmarks and an ISO builder so anyone can boot it themselves.
Related event: 24KB Pure Assembly OS Runs Qwen3-0.6B, 54% Faster than llama.cpp(5 posts)→
More from Infra
- Nvidia reportedly tells Dell and Supermicro to halt AI server shipments to four Southeast Asian nations — aitrendz_xyz · 2026-11-26
- 24KB pure-assembly OS runs Qwen3-0.6B up to 54% faster than llama.cpp — heyshrutimishra · 2026-11-26
- NInfer RTX 4090 build hits 326 tok/s on Qwen 27B with DFlash2 speculative decoding — Additional_Reach2545 · 2026-11-26
- Another OTel Node.js SDK PR lands: ~5% faster OTLP transforms via integer fast path — DanielLockyer · 2026-11-26
- Model fits in VRAM ≠ runs: an 8B model really needs ~18.9 GiB, thread explains — techNmak · 2026-11-26
- Chutes TEE billed as the most battle-tested private inference in the world — const_reborn · 2026-11-26