cd /news/large-language-models/bare-metal-assembly-llm-on-rtx-3090-… · home › topics › large-language-models › article
[ARTICLE · art-181431] src=twitter.com ↗ pub= topic=large-language-models verified=true sentiment=↑ positive

Bare-Metal Assembly LLM on RTX 3090 Without OS

A developer booted Qwen3.6-35B-A3B with a 64K context directly on an RTX 3090 from a single 528 KB pure-assembly UEFI file, with no Linux, CUDA, C compiler, libc or nvidia.ko, serving an OpenAI-compatible API and web chat over the LAN at 204 to 234 tok/s. In three-run averages against llama.cpp CUDA, the assembly engine reached 222.14 vs 154.43 tok/s for Qwen3.6-35B at tg64 (+44%) and 5,754 vs 5,273 pp512 (+9.1%), and 224.55 vs 153.51 tg64 (+46%) and 5,610 vs 5,111 pp512 (+9.8%) for Qwen3.5-35B. The 528 KB BOOTX64.EFI parses the VBIOS, boots NVIDIA's signed R610 GSP firmware over BAR0, maps GMMU v2 page tables, streams a 20.5 GB GGUF over BlockIO, and runs a NASM e1000 TCP/IPv4 stack in Ring 0, with an MIT repo, ISO builder and 4090/5090/AMD porting guide released.

recommendation

If you control the hardware, bypass the OS and CUDA stack: hand-written SASS plus direct GSP firmware boot measured +44% tg64 over llama.cpp CUDA on the same RTX 3090.

more in playbook: Inference and self-hosting
read1 min views3 publishedDec 3, 2026
Bare-Metal Assembly LLM on RTX 3090 Without OS
Image: source

I deleted Linux, nvidia.ko, CUDA, C, and libc and booted Qwen3.6-35B-A3B (64K context) directly on an RTX 3090 from a single 528 KB pure assembly UEFI file that runs a live nvtop HUD and serves an OpenAI API + Web Chat on your LAN from Ring 0, beating llama.cpp CUDA by up to 46%. In plain terms, I wrote an LLM inference engine in pure assembly: we push raw machine code straight into the GPU's memory, and the card runs our code directly. 0 GB of disk space, 0 OS, 0 C compiler, 0 nvcc, 0 ptxas, 0 libcuda. Just pure x86-64 NASM and assembled 128-bit Ampere SM86 SASS (19,778 slots verified with nvdisasm, 0 violations). From cold UEFI boot, BOOTX64.EFI parses the VBIOS, boots NVIDIA's signed R610 GSP firmware over BAR0, maps GMMU v2 page tables, streams 20.5 GB of GGUF over BlockIO, and brings up a 1280x800 chat TUI + live GPU HUD. The same 528 KB file also runs a pure NASM Intel e1000 TCP/IPv4 + DHCPv4 + HTTP SSE stack in Ring 0. Open the LAN IP in your browser and chat at 204 to 234 tok/s with zero Linux anywhere.

Same RTX 3090 vs llama.cpp CUDA (3-run avg, zero-libc ELF):
Qwen3.5-35B: 224.55 vs 153.51 tg64 (+46%), 5,610 vs 5,111 pp512 (+9.8%).
Qwen3.6-35B: 222.14 vs 154.43 tg64 (+44%), 5,754 vs 5,273 pp512 (+9.1%).

MIT repo, ISO builder, and 4090/5090/AMD porting guide below.

── more in #large-language-models 4 stories · sorted by recency
── more on @rtx 3090 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/bare-metal-assembly-…] indexed:0 read:1min 2026-12-03 · —