Urgent.News

What's breaking now, across thousands of outlets.

AI

510 bytes boot a neural network that dreams dmesg

510 bytes boot a neural network that dreams dmesg A neural network that boots your PC fits in 510 bytes of code and 11,520 bytes of weights. I cloned kerlenton/bootgpt, trained it for 40,000 steps on 3,079,543 bytes of synthetic dmesg, assembled the boot sector, and ran the exact-integer simulation of the assembly — and the machine woke up dreaming timestamps, PCI bars, and ACPI events for…

The headline claims that a neural network that dreams dmesg can be bootstrapped onto a PC using only 510 bytes of code and 11,520 bytes of weights. To test this claim, the author cloned the kerlenton/bootgpt repository, trained it on synthetic dmesg data for 40,000 steps, and assembled the boot sector. The resulting integer simulation produced timestamps, PCI bar assignments, and ACPI events for non-existent hardware.

The model is a character-level neural network with 8 characters of context and a single hidden layer. It was trained to hallucinate a Linux boot log using a 64-symbol vocabulary. Quantization to int8 enabled the boot sector to perform the entire forward pass using imul and a single idiv. The integer simulation demonstrated that the model can generate boot logs with varying levels of noise, with the dream quality deteriorating significantly at higher noise settings.

The model's performance is limited to the shape of the dmesg log and the specific machine it was trained on, emphasizing the importance of the 11,520-byte training data size. The author verified the claims through their own assembly and simulation processes, reporting that the final model is 96 hidden units, 8 context characters, and pads with strings to reach 11,776 bytes.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in AI

How We Took Over ChatGPT Accounts

How We Took Over ChatGPT Accounts Parameter Labs describe an exploit they found against ChatGPT's implementation of the artifacts pattern (OpenAI used to call this "Canvas" but it looks like the…

  • Parameter Labs discovered exploit in ChatGPT's HTML preview feature.
  • Vulnerability allowed malicious HTML injection via postMessage().
  • OpenAI patched bug and compensated researchers $5,000.

More from Saturday 31 October →