A widely discussed experiment on X: on Oct 31 indie developer div (@divagr1925) showed QwenPU, which compiles a 32-bit RISC-V CPU plus a vector unit directly into the weights of Qwen3.5-4B and runs Andrej Karpathy's 260K-parameter stories260K inside the model's own forward passes, matching a reference implementation token for token. None of the added weights are trained; a compiler computes them all. The post drew about 1,540 likes, 163 reposts and 85K views and became an X trending story. It is a personal, self-described work-in-progress project: the checkpoint is 26.7 GB and one story token takes about 16 seconds on an L4. This is a write-up of the discussion, not an official announcement from any company.

Key Takeaways

  • ✓Buzz: the @divagr1925 post has about 1,540 likes, 163 reposts, 71 quotes and 85K views (public X metrics as of Nov 1); the earlier Qwenputer post (Oct 28) has about 5,880 likes and was quote-posted by Shopify CEO Tobi Lutke
  • ✓Method: 13 compiled computer layers (RV32IM + Zba + a bignum unit + the vector unit) sit in front of Qwen's 32 layers, widening the hidden size from 2560 to 5120 while Qwen's own weights stay unchanged (GitHub README)
  • ✓Efficiency: trace tokens per story token drop from 2.43M for plain C to 53K; at about 3,300 trace tokens per second on an L4, one story token takes about 16 seconds (author-reported)
  • ✓Verification: the story program runs free on a GPU executor for all 3,184,920 steps, checked against a reference CPU model at every step, which the author says is exact; no independent reproduction has been published yet
  • ✓Open source: code is MIT and weights are Apache-2.0 as a modified Qwen3.5-4B, on Hugging Face and ModelScope; the 26.7 GB checkpoint needs a 40 GB or larger GPU
X discussion: an indie developer compiles an NPU into Qwen3.5-4B weights and runs Karpathy's stories260K, an LLM inside an LLM
🖼️Official Media
Click to view high-res
🧭

Turn your technical choice into a development budget

Compare 40 dev plans & simulate token costs vs $20/mo subscriptions

🔬

In-Depth Technical Analysis

Background and the problem

Over the past two weeks, indie developer div (@divagr1925 on X) has posted two experiments that challenge the assumption that tools such as a Python interpreter must live outside the model. Qwenputer, on Oct 28, compiled a full 32-bit RISC-V CPU into the weights of Qwen3.5-4B. QwenPU, on Oct 31, adds a vector unit so that another language model runs inside the model. The post drew about 1,540 likes and 85K views and was collected into an X trending story. To be clear, this is a personal experiment, not an official release from Alibaba's Qwen team.

Architecture and how it works

According to the project README, QwenPU places 13 compiled computer layers, with registers and memory held in Gated DeltaNet state, in front of Qwen's 32 layers. They implement RV32IM, the Zba extension, a bignum unit and the new vector unit, widening the hidden size from 2560 to 5120 while leaving Qwen's own weights unchanged. No new weight is trained; a compiler computes every one. The int4 weights of stories260K are loaded as data into the unit's weight memory rather than baked into the checkpoint.

Benchmarks and measured numbers

All numbers below are author-reported, and no independent reproduction has been published. Trace tokens needed per story token are 2.43M for plain C, 225K with Qwenputer's NPU instructions, and 53K with QwenPU's vector unit. The GPU executor runs about 3,300 trace tokens per second on an L4, so one story token takes about 16 seconds. For the earlier Qwenputer on DeepMind math problems, the author reports 55-90% for the base model, 95-100% for the base model with a Python tool, and 97.5-100% for Qwenputer.

Getting started

Code is on GitHub at divagr18/QwenPU (MIT) and weights are on Hugging Face at divagr1925/QwenPU (Apache-2.0). Following the README setup, the story demo and checks that run only the computer layers fit a 24 GB GPU, while loading the full 26.7 GB checkpoint needs 40 GB or more. Discussion on X splits two ways: some say it shows model weights can do exact computation and that whether tools must be external is worth rethinking; others point out that it is extremely slow and that the checkpoint is mostly zero padding, so its practical value is limited. The author says a full write-up is still in progress, along with size reductions.

Action HubReady to adopt this in production?

Benchmark side-by-side against alternatives, or calculate monthly token cost vs subscription break-even.

Up NextKarpathy builds HackerTube in about 2 hours with Claude Code and Opus 5.5: a YouTube clone of 6,454 videos recommended on Hacker News
Read Now→