528KB pure-assembly UEFI file boots Qwen3.6-35B on bare-metal RTX 3090, up to 46% faster than llama.cpp CUDA

HankYeomans · x · 2026-12-03

Developer superalesha wrote an LLM inference engine in pure x86-64 assembly: a single 528KB UEFI file deletes Linux, CUDA, and libc entirely and boots Qwen3.6-35B-A3B (64K context) directly on an RTX 3090 from Ring 0, beating llama.cpp CUDA by up to 46%. The boot file parses the VBIOS, loads NVIDIA's signed R610 GSP firmware over BAR0, maps GMMU v2 page tables, and streams 20.5GB of GGUF over BlockIO—19,778 SM86 SASS slots verified with zero violations. It also serves an OpenAI-compatible API, LAN web chat, and a live GPU HUD, with zero disk footprint and no compiler toolchain.

Original post →

More from Infra

Infra channel →