“it generates around 20 tokens per forward pass and achieves roughly 1,500 output tokens per second on a single nvidia h100 gpu.”
— Dr Non

What happened

DiffusionGemma is a new language model developed by a team of researchers that employs discrete diffusion to generate text at exceptionally high speed. Unlike traditional autoregressive models which decode one token at a time, DiffusionGemma iteratively refines blocks of 256 tokens in parallel. This approach dramatically reduces the sequential decoding bottleneck, enabling much faster generation.

The model was created by fine-tuning Gemma 4, a mixture-of-experts model with 3.8B activated parameters and a total of 25.2B parameters. A two-stage training pipeline achieved this feat using fewer than 10% of the original AR model's token budget. The first stage involved supervised fine-tuning to teach bidirectional denoising, while the second stage combined reinforcement learning with sampler distillation to improve generation quality and inference efficiency.

Why it matters

This speed boost—around 20 tokens per forward pass and 1,500 output tokens per second on an H100 GPU—has major implications for applications demanding rapid text creation, such as real-time content generation, interactive dialogue systems, and rapidly prototyping various language applications. The team’s innovation opens the door to potentially deploying more complex models on less powerful hardware or handling higher volumes of requests with improved throughput.

But, but, but…

The architecture relies on a large number of activated experts (3.8B), which means there's always the potential for some level of performance degradation if not all parameters are being actively used. While DiffusionGemma retains support for ‘thinking mode’, multimodal inputs and long contexts - functionalities present in its base model – it’s still an experimental build and could be subject to unexpected limitations during inference. Furthermore, the reliance on a specific GPU (NVIDIA H100) limits immediate adoption and highlights the ongoing dependency of high-performance AI on specialized hardware.

The counter-take

Conventional AR LLMs often struggle to balance speed and quality, frequently sacrificing coherence for efficiency. DiffusionGemma demonstrates a viable path towards overcoming this trade-off, potentially redefining the standards for text generation performance.

The AI angle

The development represents an upgrade in efficient language model design and asymmetry – enabling faster processing without necessarily requiring significantly more parameters or computational resources. This shift could accelerate the adoption of AI across diverse applications and industries.