← Back to all articles
Reddit r/MachineLearningAugust 14, 2026

I compiled Doom's renderer into a 21B-parameter transformer -- no training anywhere [P]

Excerpt

This is the project my last two posts were building towards (this is the last of this silliness). I ported the Doom rendering algorithm to run inside a transformer. Instead of training a model, I used a compiler I wrote which converts computation graphs into transformer weights, and then ported Doom's algorithm into a compatible graph. The generated checkpoints can be loaded in Hugging Face without trust_remote_code -- it's just a standard transformers checkpoint. You feed the model a prompt rep