dbreunig/nesformer: An NES CPU compiled into Qwen3.5 model weights

github.com9 min read

An NES CPU and its work RAM have been compiled directly into the weights of a stock Qwen3.5 language model. The implementation uses the model's Gated DeltaNet state as machine memory, allowing it to execute games like Super Mario Bros. and Thwaite one token at a time without any training. While running approximately 150 to 290 times slower than a real console, the compiled weights produce traces and frames that match conventional emulators exactly. Open article →

More on this topic