TL;DR
Developer Divyansh Agrawal reports that Qwenputer, an experimental model built on stock Qwen3.5 4B, runs a 32-bit RISC-V CPU through its own model layers. The CPU uses Gated DeltaNet state as addressable memory and, according to Agrawal, passed RISC-V tests and completed an 18-million-instruction run without errors. The result is a developer-reported demonstration, not evidence that the base Qwen model contains a CPU or that the system is a general-purpose computer.
Developer Divyansh Agrawal says he has built Qwenputer, an experimental version of Qwen3.5 4B that runs a 32-bit RISC-V CPU inside the model’s forward passes, using its Gated DeltaNet state as memory. The project matters as a demonstration of computation encoded in model weights: according to Agrawal, the CPU can execute programs without calling an external tool or runtime.
Get business pricing on tech for your team
- Business-only prices and quantity discounts
- Tax-exempt purchasing
- Multiple users, one account, clear invoices
Agrawal describes Qwenputer as stock Qwen3.5 4B with additional compiled weights. The added CPU is an RV32IM core with the Zba extension and a small unit for larger-number arithmetic. It occupies 11 layers placed before the model’s original 32 layers; the report says the original Qwen weights remain unchanged.
The CPU’s memory is implemented using Gated DeltaNet (GDN) state, an internal recurrent state maintained by certain layers. Agrawal says the experiment configures the gates and write strengths, then uses one-hot keys to select specific rows for writing and reading. In that setup, state can hold CPU registers, memory and the program counter. The CPU’s instructions are represented by generated trace tokens as the model runs.
Agrawal reports that the core passes the official RISC-V tests, produces results matching QEMU, and ran 18 million instructions free-running without an error. He also says it can execute C and MicroPython, though slowly. The model is available through Hugging Face and ModelScope, with code on GitHub, according to the report. These performance and reliability details are the developer’s claims; independent verification is not included in the supplied material.
Computation Inside Model Layers
Qwenputer offers a concrete experiment in using a language model’s internal state for exact, addressable memory, rather than treating that state only as a representation used to generate text. If the reported results hold up, they show how carefully specified weights and layer behavior can carry out conventional operations such as register updates, arithmetic and jumps during inference.
The design also differs from the familiar pattern of a model sending a request to a calculator or code interpreter. Agrawal says the CPU runs within the model’s forward pass, with no external tool execution. That makes the project relevant to research on model architecture and computation, but it does not by itself show that ordinary Qwen3.5 can execute arbitrary code or that the approach is practical for production. The system is experimental, and its reported speed is limited.
Products Worth Considering

Bose QuietComfort Headphones (2nd Gen), Wireless Over-Ear Noise-Cancelling Headphones, Black

Samsung Galaxy Tab A9+ 11-Inch 64GB Android Tablet, Silver

DJI Osmo Action 6 Capture More Combo 8K Waterproof Action Camera
As an affiliate, we earn on qualifying purchases.
How DeltaNet State Holds Memory
Qwen3.5 uses a hybrid architecture: according to Agrawal’s report, three of every four attention layers use Gated DeltaNet, a linear recurrent mechanism that maintains a state matrix. The state is updated as tokens are processed. Agrawal’s modification uses settings intended to prevent stored values from fading and to replace selected values precisely, making the state function like a memory array.
The general idea of delta-rule linear attention as associative memory predates this project. Agrawal cites a 2021 ICML paper by Imanol Schlag, Kazuki Irie and Jürgen Schmidhuber on linear transformers and fast-weight programming. Qwenputer’s reported contribution is to make that memory exact and addressable enough to support a compiled CPU. The CPU is added by setting weights directly with a compiler, rather than training a new model, the author says.
To have Qwen interact with the embedded processor, the project reuses a tool-call-style format the model is already familiar with. Agrawal says a small driver called RvChat loads firmware into the GDN state and keeps the CPU’s trace tokens out of Qwen’s own layers. Despite the format, the report says there are no external tool calls: the processor and its memory are part of the model setup.
“The CPU runs completely within the forward passes of the model.”
— Divyansh Agrawal, Qwenputer’s author
Independent Testing and Limits
The supplied account is a developer report. It does not provide independent replication, detailed benchmark results, a measured execution speed, or enough testing information to evaluate the claimed 18-million-instruction run outside the author’s setup. The source says the run completed without error, but readers are not given the full test conditions or a third-party audit.
It is also unclear how well the CPU handles programs beyond the reported tests and examples, how its performance compares with conventional runtimes, or what practical limits apply to memory and program length. Agrawal describes the implementation as experimental and says C and MicroPython run slowly. The project should not be read as showing that the unmodified Qwen3.5 model has an embedded CPU: the CPU comes from additional compiled weights and supporting setup.
Reproducing the CPU Tests
The next useful check is whether other developers can reproduce the reported results using the published model and code. Agrawal points readers to downloads on Hugging Face and ModelScope and a GitHub repository. Independent test logs, performance measurements and descriptions of the hardware and run configuration would help clarify how reliable and usable the CPU is.
Until those details or external evaluations are available, the confirmed development is the release of an experimental model and its author’s account of what it can do. The supplied source does not announce a future release date, roadmap or independent review.
Key Questions
What is Qwenputer?
Qwenputer is an experimental model based on Qwen3.5 4B with additional weights that Agrawal says implement a RISC-V CPU inside the model’s forward passes.
Does it use an external code-execution tool?
Agrawal says the CPU runs inside the model and does not rely on an external runtime or tool call. The project does use a small driver to load firmware and manage the setup.
How does the model provide the CPU with memory?
The report describes configuring Gated DeltaNet state so selected rows can be written and read as memory locations for CPU data such as registers and the program counter.
Has the reported performance been independently verified?
The supplied source contains Agrawal’s claims that the CPU passed official RISC-V tests, matched QEMU and ran 18 million instructions without error. It does not include independent verification of those claims.
Is Qwenputer a general-purpose computer?
Not on the evidence provided. Agrawal calls it experimental, says it is not a Linux-class chip, and describes C and MicroPython execution as slow. Its practical limits have not been established in the supplied report.
Source: divagr.com
