
PRX Part 3 — Training a Text-to-Image Model in 24h! — announced via Hugging Face on March 3, 2026. In the last two posts ( Part 1 and Part 2 ), we explored a wide range of architectural and training tricks for diffusion models. This is very far from the early diffusion days, where training competitive models could cost millions of dollars. As seen in Part 2 , this enables training directly in pixel space and eliminates the need for a VAE altogether . Zooming out, this speed run also highlights how far diffusion training has come.
In the last two posts ( Part 1 and Part 2 ), we explored a wide range of architectural and training tricks for diffusion models. We tried to evaluate each idea in isolation, measuring throughput, convergence speed, and final image quality, and tried to understand what actually moves the needle.
In this post, we want to answer a much more practical question:
Instead of optimizing one dimension at a time, we’ll stack the most promising ingredients together and see how far we can push performance under a strict compute budget.
These losses are lightweight compared to the main transformer forward pass, and in our setup they add only a small overhead while providing a consistent quality boost.
To make each step cheaper, we use token routing with TREAD [ Krause et al., 2025 ]), which randomly selects a fraction of tokens and lets them bypass a contiguous chunk of transformer blocks, then re-injects them later so nothing is dropped.
Following the TREAD recipe, we route 50% of the tokens from the 2nd block to the penultimate block of the transformer.
Concretely, we apply the alignment loss once,at the 8th transformer block with a loss weight of 0.5 .
This is very far from the early diffusion days, where training competitive models could cost millions of dollars. The goal here is to demonstrate how much the field has evolved and how far careful engineering can take you in just a single day of training.
This speedrun is not just a fun experiment. It will likely serve as the foundation for our large-scale training recipe going forward.
Alongside the results, we’re also open-sourcing our code ( Github link ), which contains:
As seen in Part 2 , this enables training directly in pixel space and eliminates the need for a VAE altogether .