Dev boots Qwen3.6-35B bare-metal on RTX 3090 from 528KB pure-assembly UEFI file, beats llama.cpp CUDA by 44%
awfulalexey · reddit · 2026-12-03
A developer released llm.asm, an LLM inference engine written entirely in x86-64 NASM assembly — no Linux, no nvidia.ko, no CUDA, no C/libc. A single 528 KB BOOTX64.EFI parses the VBIOS, boots NVIDIA's signed R610 GSP firmware over BAR0, maps Ampere GMMU v2 page tables, streams 20.5 GB of GGUF over BlockIO, and renders a 1280x800 chat TUI with a live GPU HUD. It includes hand-assembled 128-bit Ampere SM86 SASS (19,778 instruction slots, 0 scheduler violations) and built-in Ring-0 networking: pure NASM e1000 TCP/IPv4 + DHCPv4 + OpenAI-compatible SSE + web chat on port 8080 at 204-234 tok/s. On an RTX 3090 it hits 222.14 tg64 on Qwen3.6-35B-A3B Q4KM vs 154.43 for llama.cpp CUDA (+44%), prefill +9.1%. MIT-licensed on GitHub with porting guides for RTX 4090/5090, AMD RDNA3 and Intel Arc.
Related event: 528KB Assembly UEFI File Runs Qwen3.6-35B Without an OS, Beating llama.cpp(3 posts)→
More from Infra
- Data center construction spend surged nearly 100% last month, Kalshi data shows — TinfoilTricorn · 2026-12-03
- Practical AI podcast: fitting a 249GB model into a 128GB DGX Spark via quantization — Practical AI · 2026-12-03
- AI reverse-engineers NVIDIA's closed Linux driver in Rust, unlocking locked V100 performance — 量子位 · 2026-12-03
- OpenBSD 8.0 ships ML-DSA post-quantum SSH keys, PQC goes mainstream in OpenSSH — kingslyj · 2026-12-03
- Replit details new sandbox engine: Kubernetes orchestrates microVMs for 1M+ daily sandboxes — amasad · 2026-12-03
- China's domestic DUV lithography roughly 3 generations behind, says safety researcher — davidmanheim · 2026-12-03