Post

Qwenputer: a fully functioning, deterministic RISC-V CPU inside Qwen3.5

An experiment embeds a RISC-V CPU into modified Qwen 3.5 weights and uses the model’s own recurrent attention state as addressable RAM, executing instructions inside forward passes rather than invoking an external tool.

The author describes setting the memory gates and using one-hot addresses to get exact reads and writes, then compiling CPU logic into model layers. It is an exploration of model internals, not a claim that this is an efficient replacement for a normal CPU.

HN readers enjoyed the experiment while questioning its practical efficiency; one pointed to related work running a processor in a neural network.