Open SourceDec 1, 2026 · 09:211 source

Alexey Fateev Builds 113 KB Pure Assembly OS That Runs 2.5B LLM on Bare Metal

From huggingnews.com

Image: huggingnews.com
AI;DR

Alexey Fateev has released a 113 KB operating system written entirely in x86-64 assembly that runs a 2.5B parameter MiniCPM5-2B large language model on a bare-metal CPU. The system boots without a disk and uses the model to write, assemble, and execute applications—such as a version of Flappy Bird—directly from user prompts without using a traditional OS, C, Rust, or the GCC compiler. The pure NASM kernel, which is roughly 37.6% smaller than a comparable C and assembly build, includes a Ring-0 micro-assembler and a hardware-isolated sandbox. Fateev reported that using a bare-metal Prefix KV-Cache reduced 2,354-token prefill times from 13.3s to 93 ms. This project follows Fateev's earlier release of a 74 KB hypervisor designed to intercept and repair fatal Linux kernel crashes in real time. Source code and model weights are available on Hugging Face.

Read the sourceSign in to suggest

Sources

One ranked edition, every morning

The stories that matter today. Free, cancel anytime.

Telegram @aidr_today