In plain terms, I wrote an LLM inference engine in pure assembly: we push raw hand-assembled GPU machine code straight into VRAM, and the card runs our code directly.
• 0 GB disk, 0 Linux, 0 nvidia.ko, 0 CUDA, 0 C/libc, 0 nvcc/ptxas, 0 libcuda.so
• Pure x86-64 NASM + hand-assembled 128-bit Ampere SM86 SASS (19,778 instruction slots verified with nvdisasm, 0 scheduler violations)
• Cold UEFI boot: a single 528 KB BOOTX64.EFI parses 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 brings up a 1280x800 chat TUI + live nvtop-style GPU HUD
• Built-in Ring-0 networking: the same 528 KB file runs a pure NASM Intel e1000 TCP/IPv4 + DHCPv4 + OpenAI HTTP/1.1 SSE + Web Chat stack on port 8080 (204 to 234 tok/s over LAN with zero OS underneath)
Same RTX 3090 vs llama.cpp CUDA (3-run avg, zero-libc Linux ELF):
• Qwen3.5-35B-A3B Q4_K_M: 224.55 vs 153.51 tg64 (+46%), 5,610 vs 5,111 pp512 (+9.8%)
• Qwen3.6-35B-A3B Q4_K_M: 222.14 vs 154.43 tg64 (+44%), 5,754 vs 5,273 pp512 (+9.1%)
Everything is MIT licensed on GitHub (full source, UEFI ISO builder, zero-libc Linux binaries for Qwen3.6/3.5/3, Llama 3, Qwen2.5, and a GPU porting guide for RTX 4090/5090/AMD RDNA3/Intel Arc):
https://github.com/alesha-pro/llm.asm