CONNECT WITH US
Tech

Tech

AI model gets a 32-bit RISC-V CPU compiled directly into its weights, then runs DOOM on it

Tom's Hardware logo

Published on

Add as a preferred source on Google
AI model gets a 32-bit RISC-V CPU compiled directly into its weights, then runs DOOM on it

AI engineer Divyansh Agrawal has revealed the Qwenputer. Described in its most basic terms, Qwenputer is an experimental blend of the stock Qwen 3.5 4B AI LLM with a 32-bit RISC-V CPU compiled and inserted directly into its weights. In use, Qwenputer can run processor arithmetic operations – or even run C and MicroPython code on its built-in CPU, eschewing any external runtime or tool use. Moreover, it can run Doom, albeit very slowly. You can see the Qwenputer running Doom on its RISC-V CPU by expanding the tweet below.

QWenputer by @divagr1925 is so cool! but... can it run DOOM? Ofc yes! E1M1 on the RISC-V CPU compiled into Qwen3.5-4B weights. will opensource too https://t.co/hEa46rD6CJOctober 29, 2026

The implementation of Qwenputer raises some interesting concepts and solutions. For example, the developer used Qwen’s Gated DeltaNet (GND) state as RAM, which Agrawal reckons is “a pretty neat trick.” They admit that using these ‘fast weights’ as RAM isn’t an original concept, but modifying Qwen 3.5 this way does seem to be a first.

Unlike traditional LLM creation, adding a ‘CPU’ doesn’t involve training. This RISC-V CPU implementation “is 11 transformer layers in front of Qwen's own, and none of their weights are learned: a compiler computes every one,” it is explained. Agrawal boasts that Qwenputer’s built-in CPU “passes the official riscv-tests, its programs match qemu, and it has run 18 million instructions free-running without a single error.”

The developer stresses that Qwen makes use of this ‘CPU’ to send instructions and read them back with no external tool or runtime calls.


Source link

Disclaimer

We strive to uphold the highest ethical standards in all of our reporting and coverage. We TheMorningPulse.fyi want to be transparent with our readers about any potential conflicts of interest that may arise in our work. It's possible that some of the investors we feature may have connections to other businesses, including competitors or companies we write about. However, we want to assure our readers that this will not have any impact on the integrity or impartiality of our reporting. We are committed to delivering accurate, unbiased news and information to our audience, and we will continue to uphold our ethics and principles in all of our work. Thank you for your trust and support.