This week, Hugging Face saw a slightly unhinged experiment: developer @physicsrob compiled the rendering algorithm of classic shooter Doom into 21-billion-parameter transformer weights—no training data involved. Sounds like a joke, but he actually uploaded the full model to Hugging Face. Generating a single frame takes 40 minutes.
What this is
The approach: he wrote a compiler called torchwright that translates Doom's rendering logic directly into transformer weights—the parameters inside a neural network that determine model behavior. No GPU training data was used in the process; the weights were derived mathematically.
At runtime, the user feeds the model a level map, player position, and view direction. The model spits out drawing commands token by token (the model's smallest output unit—here, equivalent to a single drawing instruction), and a 43-line host program reassembles those commands into a frame. The 320×200 resolution version runs at 21 billion parameters, 85.87 GB, requiring 3,614 tokens of prompt plus 53,747 tokens of generation per frame. He also released an 80×50 low-resolution version that only needs 34 GB of VRAM.
Industry view
Reactions on the local-AI subreddit r/LocalLLaMA were polarized. Supporters see it as an elegant proof of concept: transformers can be used as a general-purpose compute platform, not just for chat or coding. But the criticism is blunt—the same frame takes a few milliseconds on a traditional GPU; here it takes 40 minutes, so the practical utility is zero. The author himself acknowledges that fp32 (32-bit floating-point) precision weights are still required, the model can't yet be quantized (compressed into smaller, faster lower-precision versions), and he hasn't even run it locally himself.
The cooler take: this is a 'Doom running in Excel' tier of intellectual exercise. It demonstrates the flexibility of the LLM architecture, but it changes no commercial reality.
Impact on regular people
- For enterprise IT: we see almost none. This is a research demo, not a product direction.
- For individual careers: worth remembering one thing—the boundaries of "AI" are widening. Getting Doom to run used to be called graphics programming; now it's "AI inference." Next time you encounter a complex feature wrapped in AI packaging, we suggest asking what's actually new under the hood.
- For consumers: no change in the short term. Unless you're willing to wait 40 minutes for a single frame.