bootgpt is a neural network that runs from a PC's 512-byte boot sector
bootgpt is a tiny character-level neural network whose inference engine fits in the 510-byte master boot record of a PC, so the machine boots by generating a fake Linux boot log.
The README says bootgpt is a neural network that boots a PC. The 512-byte MBR is hand-written assembly. It loads an 11.5 KB int8 model from the next 23 sectors and runs it in 16-bit real mode on a 386, with no OS or C runtime. The model was trained on about 3 MB of fake dmesg output made by corpus_gen.py, so the machine prints an invented Linux boot log. The log includes timestamps, PCI bars and ACPI events for hardware that never existed. Any keypress reboots it.
The author writes that train.py trains the network with char embeddings, one hidden layer and softmax, then quantizes everything to int8 with power-of-two scales. The script also simulates the exact integer math the assembly runs. The author says the two outputs match character for character. The author describes one bug. Only the first hidden neuron was correct, because idiv left a remainder in edx that overwrote the bias table pointer. The fix derives the bias address from the loop counter. Building requires nasm, qemu and numpy, and disk.img can be written to a USB stick.
The README is open about its limits. With 8 characters of context and one hidden layer, the output is rough. The model is not a general storyteller but a net trained for one thing.
In the author's words
A neural network that boots your PC.
From the README or the author's post. We checked that the sentence is there, not that it is true.
When to reach for it
Reach for it when you want a worked example of int8 quantization with integer-only inference, or a pattern for checking a simulator against target code one neuron at a time.
See it
AI wrote this entry from the project's own README or its author's post. What the project does, and that AI built it where the entry says so, are the author's statements, quoted here. Nobody at IKANGAI ran or tested it. How this list is made