Ranked #19 of 27 on Saturday, October 31
nesformer: an NES CPU compiled into the weights of a Qwen3.5 model
The open-source nesformer project compiles the NES's 6502 CPU, its 2 KB of RAM and a cartridge ROM into a stock Qwen3_5ForCausalLM checkpoint (~1 GB); no weights were trained, a compiler computed them all. The model predicts the CPU's execution trace token by…
Ranked #19 of 27 on Saturday, October 31
Why it matters
It is a concrete demonstration that a transformer/state-space hybrid can execute exact programs, relevant to interpretability and in-model computation research.
What happened
1 min readThe open-source nesformer project compiles the NES's 6502 CPU, its 2 KB of RAM and a cartridge ROM into a stock Qwen3_5ForCausalLM checkpoint (~1 GB); no weights were trained, a compiler computed them all. The model predicts the CPU's execution trace token by token, using the Gated DeltaNet state as machine memory, and a small host handles graphics, input and interrupts. It builds on the Qwenputer compiler and its test games match a conventional emulator frame for frame.
Our analysis
There is no direct practical use and it is far slower than an emulator, but it is a striking illustration of what Qwen3.5's architecture and DeltaNet state can represent. What is new over Qwenputer is wiring up a full console with interrupt timing, not the core trick itself. Code, weights, a checksum and a test suite are published, so it is easy to reproduce.