DiffusionGemma
DiffusionGemma is a block-diffusion language model from Google. Instead of generating tokens left-to-right, it denoises a fixed-length canvas of tokens in parallel: a causal encoder reads the prompt and a bidirectional decoder iteratively refines the response canvas. The released checkpoint is a Mixture-of-Experts model with 26B total parameters and ~4B active per token.
Available Models
- DiffusionGemma 26B-A4B-it (
DiffusionGemmaForBlockDiffusion): instruction-tuned block-diffusion MoE.
Architectures
DiffusionGemmaForBlockDiffusion— block-diffusion MoE (causal prompt encoder + bidirectional canvas decoder).
Example HF Models
Example Recipes
Try with NeMo AutoModel
1. Clone the source checkout that contains the example recipes:
2. Install that checkout’s locked environment (full instructions):
3. Generate the GSM8K chat dataset required by both DiffusionGemma recipes. Run this from the repository root; it writes gsm8k_chat_train.jsonl, the path used by both YAML files:
This recipe was validated with Expert Parallelism (EP=8) on a single 8×H100 node. See the Launcher Guide for multi-node setup.
4. Run either recipe from inside the repository:
Fine-Tuning
See the DiffusionGemma Fine-Tuning Guide for the block-diffusion training objective, self-conditioning, and the full list of supported features (SFT, LoRA, Expert Parallelism, activation checkpointing).