Who needs Linux, CUDA, NVIDIA drivers, or even a conventional operating system to run a large language model? Developer alesha-pro has demonstrated Qwen3.6-35B-A3B running directly on an NVIDIA RTX 3090 with a 64K context window using a bare-metal inference engine written in pure assembly. The entire bootable executable occupies just 528 KB. And according to the developer's benchmarks, it outperforms llama.cpp with CUDA by up to 46% in token generation throughput. No Linux. No CUDA. No C. No libc. No nvcc. No libcuda.so. Just x86-64 NASM assembly, hand-written GPU machine code, and direct hardware interaction. What Is llm.asm? The llm.asm project explores how artificial intelligence can operate without the conventional software infrastructure surrounding modern machine learning systems. Its bare-metal GPU inference engine directly executes hand-written 128-bit Ampere SM86 SASS instructions on the GPU, bypassing the traditional CUDA software stack. From Cold Boot to AI Chat The video demonstrates the entire startup process inside a Proxmox environment. The 528 KB BOOTX64.EFI executable handles: - NVIDIA VBIOS parsing - NVIDIA R610 GSP firmware initialization - GPU communication through BAR0 - GMMU v2 memory page table configuration - Streaming approximately 20.5 GB of GGUF model weights from an ISO image - A 1280 x 800 interactive chat interface - Real-time GPU monitoring - AI inference at approximately 204–234 tokens per second The 528 KB figure refers to the bootable inference engine itself, not the model weights or GPU firmware. A Complete Network Stack Inside the Same Executable As if direct GPU inference were not enough, the project also implements its own networking infrastructure. The same executable includes: - Intel e1000 network support - TCP/IPv4 - DHCP - OpenAI-compatible HTTP API - Server-Sent Events (SSE) - Browser-based AI chat The networking stack operates directly in Ring 0, allowing users to interact with the locally running language model through a web browser. llm.asm vs llama.cpp CUDA The developer published performance comparisons using the same NVIDIA RTX 3090, averaged across three benchmark runs. Qwen3.5-35B-A3B: - Token generation: 224.55 vs 153.51 tokens/s (+46%) - Prompt processing: 5,610 vs 5,111 tokens/s (+9.8%) Qwen3.6-35B-A3B: - Token generation: 222.14 vs 154.43 tokens/s (+44%) - Prompt processing: 5,754 vs 5,273 tokens/s (+9.1%) These results use the tg64 and pp512 benchmark workloads and represent the developer's specific test configuration. The performance comparison includes the project's zero-libc implementation and should not be interpreted as proof that removing Linux alone produces these improvements. Specialized GPU kernels and inference optimizations are also important factors. Why Does This Project Matter? Modern AI inference typically depends on multiple layers of software: operating systems, drivers, programming languages, runtime libraries, and machine learning frameworks. llm.asm explores what happens when most of those layers are removed. Potential research directions include: - Bare-metal GPU inference - Specialized AI operating systems - Low-level GPU programming - AI inference optimization - Dedicated AI appliances - Hardware-specific machine learning runtimes - Resource-efficient local AI infrastructure Rather than buying more powerful hardware, this project investigates how much additional performance can be extracted from existing GPUs. Open Source and Future Hardware Support The source code, UEFI ISO builder, Linux binaries, and hardware porting documentation are publicly available under the MIT license. The project also provides guidance for adapting the engine to NVIDIA RTX 4090, RTX 5090, AMD GPUs, and Intel Arc. Porting documentation should not be confused with confirmed production-ready support for all these platforms. GitHub repository: https://github.com/alesha-pro/llm.asm/tree/main/00-engine Original developer demonstration: https://x.com/superalesha/status/2128183560922444243 Everyone else is rewriting software in Rust. This developer decided even Rust was unnecessary. How much of the modern AI software stack do we actually need? Share your thoughts in the comments. Subscribe for more bare-metal AI experiments, local LLM benchmarks, assembly programming, GPU optimization, open-source inference engines, and unconventional software engineering projects. #BareMetalAI #RTX3090 #Qwen #Assembly #LocalAI #CUDA #LlamaCpp #AIInference #OpenSource #GPUProgramming