Skip to content
FOR THE LOVE OF ALL THINGS TECH
AI

Google releases experimental DiffusionGemma model for local text generation

Hero visual representing How to Evaluate DiffusionGemma for Faster Local Text Generation
Featured visual for How to Evaluate DiffusionGemma for Faster Local Text Generation

Google released DiffusionGemma, an experimental open-weights model designed to speed up local text generation for tasks such as in-line editing and code infilling. In a benchmark on a single NVIDIA H100 GPU, Google reported nearly four times the text-generation throughput of its autoregressive Gemma 4 26B-A4B model. Google said standard Gemma 4 still produced higher-quality output overall.

What Google’s speed figures measure

Google reported more than 1,000 generated tokens per second on a single H100 and more than 700 on a GeForce RTX 5090. These rates measure generation throughput. They do not establish how long a user waits for the first visible text or for a complete response.

Google said the throughput advantage was strongest when a single accelerator handled small to midsize batches. It said the gains could narrow on cloud servers that already keep GPUs busy by batching many requests. It also cautioned that unified-memory systems such as Apple Silicon Macs might not see the same speedup.

Google said a quantized version of DiffusionGemma could fit within 18 GB of GPU memory on high-end consumer graphics cards. That figure applies to the reduced-precision model configuration, not to the memory requirements of every deployment.

How DiffusionGemma generates text

DiffusionGemma starts each 256-token block with random placeholders and refines the positions in parallel over several passes. Within a block, each position can use context from both directions. Longer responses still proceed one block at a time, with each new block building on the text already generated.

Google pointed to code infilling as a potential use because the code on both sides of a gap can help determine what belongs in it. The company also demonstrated a version fine-tuned to solve Sudoku puzzles.

DiffusionGemma is based on the Gemma 4 26B mixture-of-experts architecture. Google says 3.8 billion parameters are active during inference. The model weights were released under the Apache 2.0 license, and Google listed vLLM, MLX and Hugging Face Transformers as options for running the model.