24KB pure-assembly OS runs Qwen3-0.6B 54% faster than llama.cpp
AIFlow_ML · x · 2026-11-26
A developer baked Qwen3-0.6B into a 24,252-byte pure x86-64 assembly OS (no Linux, C, Rust, or libc). It boots in 74-94ms into 64-bit Long Mode, wakes all cores via APIC, maps 614MiB of Q80 weights directly from physical RAM, and serves a multi-turn KV-cache chat over VGA/PS-2/serial. Benchmarks on the same AMD EPYC 7642 vs llama.cpp (Q80, -ngl 0): 23.67 vs 16.63 tok/s single-thread (+42%), 78.89 vs 51.08 tok/s at 4 threads (+54%). Bare-metal LLM inference beats Linux llama.cpp by a wide margin.
More from Infra
- RL env company replicates DeepSeek's DSec rollout sandboxing infra on Azure — tylerjdunn · 2026-11-26
- GPU training glut possible but an inference glut isn't, says analyst Ben Bajarin — BenBajarin · 2026-11-26
- BNEF: Data Center Power Demand to Quadruple to 2,354 TWh by 2035 — Beth_Kindig · 2026-11-26
- Alibaba's Qwen team releases FlashQLA, speeding Gated DeltaNet long-context up to 4.8x — SonglinYang4 · 2026-11-26
- Cohere Labs: speculative decoding speedup peaks at batch size 1 on fine-grained MoEs — Cohere_Labs · 2026-11-26
- Memory chip margins hit 74%, overtaking even NVIDIA, double the logic average — BenBajarin · 2026-11-26