What happened
Alexey Fateev (alesha‑pro on GitHub) released a 24 KB x86‑64 assembly OS that boots directly into a Qwen3‑0.6B LLM. The OS, named asm‑llm‑os.elf, loads the model’s 614 MiB weights from RAM and provides a VGA‑based chat interface. Benchmarks on an AMD EPYC 7642 show token‑per‑second rates 42‑54% higher than a native Linux llama.cpp build, with similar gains on an Intel Xeon VM. The source code, ISO builder, and a Proxmox VM guide are publicly available in the GitHub reply.
On November 25, 2026, Alexey Fateev announced that he had removed Linux entirely from his development environment and written a 24,252‑byte pure assembly OS for x86‑64. The OS boots in 74‑94 ms, switches all CPU cores to long mode via APIC, and maps the 614 MiB Qwen3‑0.6B model weights directly into physical RAM.
The system presents a live multi‑turn chat interface over VGA, PS/2 keyboard, and serial ports, allowing users to interact with the model without any underlying operating system services. A hybrid BIOS/UEFI ISO builder is provided to create bootable images, and a Proxmox VM guide demonstrates diskless operation on a 2014 12‑core Intel Xeon E5‑2670 v3 with 2 GiB RAM.
Benchmarking on an AMD EPYC 7642 shows token‑per‑second (tok/s) performance improvements ranging from +42% on a single thread (23.67 tok/s vs 16.63 tok/s) to +54% on four threads (78.89 tok/s vs 51.08 tok/s). Similar gains are reported on an Intel Xeon VM, with 78 tok/s decode and up to 111.5 tok/s prefill rates. Output remains bit‑exact compared to PyTorch FP32 reference (0.99965 cosine similarity).
For comparison, a minimal 14.7 KB Linux ELF build compiled with AVX2+F16C also outperforms llama.cpp by 18‑36% across 1‑40 threads, and using 2 MiB huge pages on bare metal adds another ~10% boost. All code, ISO builder, and setup instructions are hosted in the GitHub reply linked in the article.
Source details: tomshardware.com
Why it matters
The project demonstrates that eliminating traditional OS layers can yield substantial performance gains for large language models on commodity hardware. By loading weights directly from physical RAM and avoiding libc, context‑switch overhead, and kernel scheduling, the bare‑metal approach reduces latency and improves throughput, which is valuable for edge deployments where power, storage, and latency constraints are critical. It also showcases the feasibility of ultra‑small, self‑contained AI runtimes that can be customized for specific hardware, potentially lowering the barrier for hobbyists and researchers to experiment with LLMs without full OS stacks. However, the approach requires deep low‑level expertise, lacks the safety and driver ecosystem of mainstream OSes, and is currently limited to a single 0.6 B‑ model, so broader applicability remains to be proven.
Performance: By stripping away the OS stack, the bare‑metal runtime reduces overhead from system calls, memory management, and scheduling, directly translating into higher token throughput. This is especially relevant for latency‑sensitive edge applications such as on‑device assistants or real‑time translation.
Footprint: A 24 KB binary that fits comfortably on a flash drive or embedded storage opens possibilities for ultra‑compact AI devices, where traditional OS images would dominate the memory budget.
Accessibility: The open‑source release provides a concrete reference implementation for developers interested in low‑level AI deployment, encouraging experimentation beyond the typical Python or C++ ecosystems.
Limitations: The approach currently supports only a single 0.6 B‑ model, requires manual assembly coding, and lacks standard OS protections (e.g., memory isolation, driver support). These constraints limit immediate production use and raise security considerations.
Interactive Mechanism: How It Actually Works
Explore the underlying technology behind this development interactively.
A route planner searches possible journeys using explicit rules. What does this illustrate about AI?
What to watch next
Future work may expand the technique to larger models, other architectures (ARM, RISC‑V), or integrate hardware acceleration. Community adoption will reveal whether the performance gains outweigh the development complexity and loss of OS services. Watch for any security assessments of running code without standard isolation mechanisms, and for possible open‑source contributions that add features such as networking or storage while preserving the minimal footprint.
Scaling to larger models: Whether the bare‑metal technique can handle models with hundreds of billions of parameters without prohibitive RAM requirements.
Portability: Efforts to adapt the assembly OS to other CPU architectures (ARM, RISC‑V) or to integrate GPU/TPU acceleration.
Community contributions: Additions such as networking, storage, or sandboxing could broaden practical use cases while preserving the minimal footprint.
Security audits: Independent reviews of the bare‑metal environment to assess risks of running untrusted code without conventional OS isolation.