Skip to content
نبض AIنبضAI

A 50 KB Assembly OS Boots and Runs Qwen3-0.6B on Bare Metal

Open-source releasePublished: Source: Hacker News (100+ points)

TL;DR:6B without Linux, Windows, C, Rust, or libc. Its stripped kernel is 51,480 bytes with FAST_Q8 enabled, and it supports interactive multi-turn chat with a persistent KV cache.

A 50 KB Assembly OS Boots and Runs Qwen3-0.6B on Bare Metal

The llm.asm project describes a bootable x86-64 operating system written in assembly that runs Qwen3-0.6B without Linux, Windows, C, Rust, or libc. Its stripped kernel is 51,480 bytes with FAST_Q8 enabled, and it supports interactive multi-turn chat with a persistent KV cache. The project reports up to 136.6 tokens per second in QEMU KVM on 16 vCPUs, and 55.4 tokens per second on a diskless Proxmox VM.

Key points

  • The stripped kernel is 51,480 bytes with FAST_Q8 enabled; its BSS occupies about 3.1 MiB.
  • The system runs Qwen3-0.6B directly on x86-64 hardware or KVM and includes an xHCI USB keyboard driver.
  • Reported decode throughput reaches 136.6 tokens/s on a 16-vCPU QEMU KVM setup; a diskless 12-core Proxmox VM reached 55.4 tokens/s.
  • It supports persistent multi-turn chat, with optional builds for up to four switchable sessions.

Why it matters

The project demonstrates that a compact bare-metal assembly kernel can host a modern small language model without a general-purpose operating system. Developers can inspect or reproduce the implementation, while the benchmarks show the trade-offs of running inference in a minimal environment.

Companies and models mentioned

  • llm.asm
  • Qwen3-0.6B
  • Qwen
  • Proxmox VE
  • QEMU KVM

More for AI Pulse members

A personalized pulse delivered daily on Telegram and the web by role and industry, plus the full story timeline, archive, search and bilingual view.

Start free

Related stories