Bare Metal Qwen A standalone bootable x86-64 operating system that runs Qwen/Qwen3-0.6B directly on hardware or KVM with no Linux, Windows, C, Rust or libc has been released, built as a 24,252-byte stripped static Multiboot 1 kernel (23,612 bytes with FAST_Q8=0). The project reports 74–94 ms cold boot to an interactive multi-turn chat with persistent KV-cache, 100% token-exact parity with its Phase 1 implementation across 1..32 vCPUs, and 134.9 tok/s decode on QEMU KVM (AMD EPYC 7642, 16 vCPUs), peaking at 136.6 tok/s, plus 55.4 tok/s on a diskless Proxmox VE VM (Intel Xeon E5-2670 v3, 12 cores). The kernel binds a 614 MiB FP16-scale (.asmbin v2) or 649 MiB FP32-scale (v1) model zero-copy from physical RAM on 2 MiB huge pages, and can be packed with GRUB2 and the model into a ~661 MiB bootable BIOS+UEFI ISO requiring zero hard disks. A standalone bootable x86-64 operating system that runs Qwen/Qwen3-0.6B directly on hardware or KVM with no Linux, no Windows, no C, no Rust, and no libc . - 24,252 bytes stripped static Multiboot 1 kernel FAST Q8=1 , default: .text = 17,143 B, .rodata = 2,772 B, .bss = 2.1 MiB NOBITS , zero dynamic dependencies , or 23,612 bytes FAST Q8=0 , legacy Q8 0xFP32 . - 74–94 ms cold boot to interactive asm-llm multi-turn chat with persistent KV-cache across turns, all SMP cores online, and the .asmbin v2 614 MiB FP16 scales or v1 649 MiB FP32 scales model bound zero-copy from physical RAM on 2 MiB huge pages. - 100% token-exact and byte-for-byte parity with Phase 1 https://github.com/alesha-pro/llm.asm/blob/main/01-qwen3-inference across 1..32 vCPUs. - 134.9 tok/s decode on QEMU KVM AMD EPYC 7642, 16 vCPUs; 23.7 tok/s at 1 vCPU, 118.1 tok/s at 8 vCPUs, 136.6 tok/s peak and 55.4 tok/s live on a 0 GB disk Proxmox VE VM Intel Xeon E5-2670 v3, 12 cores . Running live on a diskless 0 GB storage Proxmox VE VM booted from the hybrid BIOS+UEFI ISO Intel Xeon E5-2670 v3, 12 cores, 2 GiB RAM : - x86-64 CPU with AVX2 + FMA + F16C . - Core build & QEMU KVM: sudo apt install nasm binutils qemu-system-x86 - Optional, for building a bootable BIOS+UEFI hybrid ISO make os-iso : sudo apt install grub-pc-bin grub-efi-amd64-bin grub-common mtools xorriso - An exported models/qwen3-0.6b-q8 0.asmbin file --scale-dtype fp16 v2 recommended, or legacy v1 --scale-dtype fp32 ; see Phase 1 setup https://github.com/alesha-pro/llm.asm/blob/main/01-qwen3-inference/README.md 1-download-qwenqwen3-06b . From the repository root FAST Q8=1 is enabled by default; pass FAST Q8=0 for legacy FP32-activation mode : make os FAST Q8=1 make os-check Expected output FAST Q8=1 : -rwxr-xr-x 1 user user 24252 build/asm-llm-os.elf build/asm-llm-os.elf: ELF 32-bit LSB executable, Intel 80386, version 1 SYSV , statically linked, stripped There is no dynamic section in this file. The kernel is linked as 64-bit ELF and wrapped into ELF32 via objcopy -O elf32-i386 for standard Multiboot 1 loaders like QEMU -kernel and GRUB2; boot.asm transitions immediately into 64-bit Long Mode. Boot directly in the terminal over COM1 serial -nographic : qemu-system-x86 64 -enable-kvm -cpu host -m 2G -smp 16 \ -kernel build/asm-llm-os.elf \ -initrd models/qwen3-0.6b-q8 0.asmbin \ -nographic Or use the Makefile shortcut: make os-run MODEL=models/qwen3-0.6b-q8 0.asmbin SMP=16 Run a one-shot batch prompt with clean ACPI shutdown: make os-run MODEL=models/qwen3-0.6b-q8 0.asmbin SMP=16 \ CMDLINE='prompt="Explain how a CPU cache works in 3 concise sentences." max tokens=64 think=0 shutdown=1' Open a live 80x25 VGA GUI window with PS/2 keyboard input: qemu-system-x86 64 -enable-kvm -cpu host -m 2G -smp 16 \ -kernel build/asm-llm-os.elf \ -initrd models/qwen3-0.6b-q8 0.asmbin \ -vga std -serial stdio Packages the 23 KB kernel, GRUB2 Multiboot 1 config, and the 649 MiB .asmbin model into a single self-contained ~661 MiB bootable ISO build/asm-llm-os.iso : make os-iso MODEL=models/qwen3-0.6b-q8 0.asmbin Boot the ISO in QEMU KVM SeaBIOS or UEFI OVMF : Legacy BIOS SeaBIOS qemu-system-x86 64 -enable-kvm -cpu host -m 2G -smp 16 \ -cdrom build/asm-llm-os.iso -nographic UEFI OVMF qemu-system-x86 64 -enable-kvm -cpu host -m 2G -smp 16 \ -bios /usr/share/ovmf/OVMF.fd \ -cdrom build/asm-llm-os.iso -nographic Because the entire OS and model live inside the ISO and run out of RAM, the VM needs zero hard disks . 1. Upload build/asm-llm-os.iso to your Proxmox node's ISO storage local - ISO Images - Upload , or scp into /var/lib/vz/template/iso/asm-llm-os.iso . 2. Create and start a diskless VM on the Proxmox host pick an unused