The practical upshot first: you can run a single 24 GB GPU, clone one repo, and hand a language model arithmetic or MicroPython problems that it solves by executing real machine instructions inside its own forward pass — not by calling a Python interpreter, not by invoking a tool server, but by literally running a CPU that lives in its weight matrix. That is what Qwenputer is.

How the RAM works

Qwen 3.5 uses Gated DeltaNet (GDN) for three out of every four attention layers. GDN is a linear RNN: each head maintains a fixed-size state matrix that gets updated at every token via a delta rule. Normally the gate slowly fades stored values, and writes blend rather than replace. The key insight here is that by pinning the gate to 1 (no forgetting), setting write strength beta to 1 (full overwrite), and using one-hot key vectors (which address exactly one row, like a memory cell), GDN state becomes precise, addressable RAM. Unlike a standard KV cache, this state does not grow with sequence length, so the cost stays flat. The theoretical grounding goes back to Schlag et al. (ICML 2021), who showed linear attention with the delta rule behaves as associative memory; Qwenputer makes that exact and reliable enough to run a processor on.

How the CPU works

The processor itself is a 32-bit RISC-V core (RV32IM plus the Zba extension and a bignum unit). It occupies 11 transformer layers prepended to Qwen's original 32, and those layers were set entirely by a compiler — no gradient-based training involved. The developer described the CPU as a circuit, decomposed it into atomic steps (read register, add, branch-if-zero, etc.), and the compiler translated each step into concrete attention heads and feed-forward units. Execution happens during token generation: each instruction produces a short sequence of tokens (an address token, a value token, a step token), and those tokens are the live execution trace. The CPU has passed the official riscv-tests suite and ran 18 million instructions free-running without a single error against a QEMU reference.

Qwenputer: A working RISC-V CPU baked directly into Qwen 3.5's weights

Benchmark numbers

On DeepMind arithmetic sets, Qwenputer hits 97.5–100% across large multiplication and division tasks, matching or nearly matching a base Qwen 3.5 4B given an external Python tool (95–100%), and well above the unassisted model (55–90%). On NUPA long-integer arithmetic, it jumps from 48.6% to 100%. Critically, attaching the CPU does not meaningfully change the model's language behavior: KL divergence against base Qwen is 6×10⁻⁴, barely above the measurement noise floor of 5×10⁻⁴.

The filesystem

Because RAM was already working, the author also implemented a filesystem inside the same GDN state: up to 512 files (~53,000 tokens of text), stored via a hash-addressed directory with linear probing for collisions. Files persist across conversations if you save and reload the GDN state. In a cross-session recall benchmark, Qwenputer with the filesystem answered correctly 90% of the time versus 30% when the prior conversation was simply pasted back in, and it matched Python-backed memory tools (83.3% vs 78.9%). This is still on an experimental branch.

Limitations and what to watch

The checkpoint is 18.8 GB — roughly double base Qwen — mostly because of zero-padding in the expanded hidden dimensions. It requires the RvChat driver to boot firmware and strip trace tokens before they reach Qwen's layers, so it won't run with a bare generate() call today. Speed is the other constraint: the batched executor does about 3,200 CPU tokens per second on an L4 GPU, meaning a non-trivial calculation takes seconds rather than milliseconds. The author's stated next steps are MicroPython execution via an in-model python() tool and a faster execution path. The broader implication the author flags — and which is worth tracking — is that compiled, tamper-proof weight layers could serve as in-model monitors that the model itself cannot disable, which is a genuinely novel angle for interpretability and oversight research. Everything is open-source on GitHub and Hugging Face.