bootgpt fits neural-net inference into 510-byte boot sector
The GitHub project loads an 11.5 KB int8 model from 23 sectors and prints synthetic Linux boot messages without an operating system.

bootgpt, a GitHub project posted to Hacker News on Oct. 31, runs a neural-network inference engine inside a 510-byte master boot record, according to its repository README.
The experiment pairs that runtime with an 11.5 KB int8 model loaded from 23 later disk sectors, showing a size-coding trade-off versus sectorllm’s about 1.2 KB assembly runtime for a five-layer Llama2 transformer.
The master boot record is the first 512-byte sector a BIOS-based PC reads when it starts. In bootgpt, the README said the boot sector contains code only, while strings, model weights and the vocabulary table sit outside it.
The README describes the project as “A neural network that boots your PC.” It said the code runs in 16-bit real mode on a 386, without an operating system or C runtime, and prints fabricated Linux boot messages for hardware that does not exist.
The model is narrow by design. The README said corpus_gen.py creates 3 MB of fake dmesg, the kernel log format used by Linux, and train.py trains a character-level network with embeddings, one hidden layer and a softmax output layer. It then quantizes the parameters to int8, meaning 8-bit integer values, so the boot code can use integer multiplication and one integer division operation.
The repository said train.py simulates the same integer arithmetic used by the assembly implementation, including its sampler, so Python and QEMU output can be compared character by character. QEMU is an emulator used to run and inspect the boot image without physical hardware.
The project sits in a boot-sector demo tradition that includes chess, a small operating system, a BASIC interpreter and a C compiler inside 512 bytes, according to the README. bootgpt takes a narrower approach than sectorllm: it keeps the inference engine within the boot sector but uses a small one-hidden-layer network trained only to generate boot-log text.
The materials do not include benchmark results, independent verification or claims of general-purpose language ability. GitHub showed 26 stars, 0 forks and 3 commits for the repository on Oct. 31.
Source: GitHub repository README and Hacker News listing, Oct. 31, 2026
More stories
- Europe faces attribution gap after 16 cyber, physical incidents
- PIF backs Grand Theft Auto as Saudi players embrace game
- Signal limits screenshots to curb AI access to messages
- Cognition runs Devin Mac workspaces on EC2 in 6 AWS regions
- Salesforce engineers cut 600-failure triage to 90 minutes
- Türkiye Desk: GTA 6 puts console access and network demand in focus
- Flow Games raises $49m as platform control tightens
- Japan & Asia: Switch 2 leads Famitsu as Korea fines stores
- NVIDIA surgical simulator brings AI to robot training labs
- Figure 03 reaches 1,000 robots as BotQ output scales fast
Latest news
- Trump prepares tariffs on China and other major exporters
- New-car buyers pay record average $50,087 in October
- Banks face ECB reserve debate over liquidity and profits
- Investors see Anthropic debut gains fade below $83 a share
- Iraq orders federal control over Kurdish-area oilfields
- Germans oppose Ukraine aid as poll shows support slipping
- Kim Jong-un receives 10 envoys after constitutional shift
- Ukraine claims Libya strike sinks Russian naval corvette

