Key points
- Qwenputer integrates a 32-bit RISC-V CPU directly into the Qwen 3.5 4B model weights.
- The system executes C and MicroPython code using the model's Gated DeltaNet state as RAM.
- It successfully runs Doom and passes standard RISC-V instruction tests without external tool use.
AI engineer Divyansh Agrawal revealed Qwenputer, an experimental system that embeds a 32-bit RISC-V CPU directly into the weights of the Qwen 3.5 4B large language model, according to the published reportreported
Evidence: reported
AI model gets a 32-bit RISC-V CPU compiled directly into its weights, then runs DOOM on it — experimental AI model can run Doom and C code using its own weights as RAMaifleet-tomshardware
The claim
The project combines the stock Qwen 3.5 4B model with a compiled processor inserted into its architecture.reported Agrawal states the implementation uses Qwen’s Gated DeltaNet state as random-access memory, a technique he described as a neat trick. This allows the model to run processor arithmetic, execute C and MicroPython code, and even play Doom, albeit slowly.
Evidence: reported
AI model gets a 32-bit RISC-V CPU compiled directly into its weights, then runs DOOM on it — experimental AI model can run Doom and C code using its own weights as RAMaifleet-tomshardware
The response
Agrawal notes that using fast weights as memory is not an original concept, but modifying Qwen 3.5 in this manner appears to be a first.reported He emphasizes that the built-in CPU passes official RISC-V tests, matches QEMU outputs, and ran 18 million instructions without error.reported The developer stresses the model sends and reads instructions internally, avoiding external tool calls.
Evidence: reported
AI model gets a 32-bit RISC-V CPU compiled directly into its weights, then runs DOOM on it — experimental AI model can run Doom and C code using its own weights as RAMaifleet-tomshardware
Evidence: reported
AI model gets a 32-bit RISC-V CPU compiled directly into its weights, then runs DOOM on it — experimental AI model can run Doom and C code using its own weights as RAMaifleet-tomshardware
What it means for your stack
The integration provides exact calculations, addressing common arithmetic weaknesses in standard language models. Users can run code directly within the LLM environment. However, the expanded resource usage nearly doubles the model size to almost 19GB, requiring a workstation with at least 24GB of VRAM for testing.reported
Evidence: reported
AI model gets a 32-bit RISC-V CPU compiled directly into its weights, then runs DOOM on it — experimental AI model can run Doom and C code using its own weights as RAMaifleet-tomshardware
Methods and limits
The RISC-V CPU consists of 11 transformer layers placed before Qwen's own layers.reported None of these weights are learned; a compiler computes every value. The filesystem extension uses DeltaNet state for storage, offering 1,024 slots for up to 512 files with persistence if the state is saved. The project remains experimental, with ongoing efforts to streamline coding and improve speed.
Evidence: reported
AI model gets a 32-bit RISC-V CPU compiled directly into its weights, then runs DOOM on it — experimental AI model can run Doom and C code using its own weights as RAMaifleet-tomshardware
Why it matters
- Demonstrates that exact arithmetic can be achieved within LLMs by embedding compiled hardware logic, bypassing standard probabilistic calculation errors.
- Highlights the feasibility of using model state as persistent memory for filesystems and program execution, reducing reliance on external APIs.
- Shows significant hardware requirements, nearly doubling model size to 19GB, which impacts deployment costs and VRAM accessibility for developers.
- Provides a proof-of-concept for running complex software like Doom entirely within model weights, challenging traditional separation between inference and execution.
Topics: models, research, RISC-V, Qwen, experimental
Updated
Then / now / next
Standard LLMs relied on external tools or plugins for code execution and arithmetic.
Qwenputer embeds a compiled RISC-V CPU directly into model weights for internal execution.
Developers are working to streamline coding processes and improve the speed of the experimental model.
Story timeline
- Then Standard LLMs relied on external tools or plugins for code execution and arithmetic.
- 02 Nov 2026 AI model gets a 32-bit RISC-V CPU compiled directly into its weights, then runs DOOM on it — experimental AI model can run Doom and C code using its own weights as RAM
- Now Qwenputer embeds a compiled RISC-V CPU directly into model weights for internal execution.
- Next Developers are working to streamline coding processes and improve the speed of the experimental model.
Ask the article
Local keyword search of this article; no generated answers.Did this article give you the evidence you needed?
Your choice stays on this device. No public tally.Terms in this story
RISC-V
An open standard instruction set architecture used in the embedded CPU.
Gated DeltaNet
A state mechanism in Qwen used as RAM for the embedded processor.
QEMU
An emulator used to verify that the model's outputs match standard execution.
VRAM
Video memory on a graphics card, required to load the large model.
Questions readers ask
Does Qwenputer use external tools to run code?
No, the model sends instructions and reads results internally without external runtime or tool calls.
What hardware is required to run Qwenputer?
Agrawal recommends a workstation with 24GB of VRAM or more due to the 19GB model size.
Is the CPU in the model trained?
No, the 11 transformer layers for the CPU are computed by a compiler, not learned through training.
Connected stories
Reading receipt
- Qwenputer integrates a 32-bit RISC-V CPU directly into the Qwen 3.5 4B model weights.
- The system executes C and MicroPython code using the model's Gated DeltaNet state as RAM.
- It successfully runs Doom and passes standard RISC-V instruction tests without external tool use.
Still open: How will the model perform with larger or more complex software beyond Doom and basic C code?
Still open: Will future optimizations reduce the 19GB size and 24GB VRAM requirement for broader adoption?
