✦
Summary
eDMD, short for Endpoint Distribution Matching Distillation, is a distillation method from Zhejiang University, Westlake University's AGI Lab, and StepFun that turns diffusion image models into 4-step students. Instead of matching distributions at every noisy step, it trains a single shared fake (critic) model only on the student's final delivered images, with a precise-teacher correction using a four-node guided walk below the last step's noise level and calibrated query densities measured once per teacher. Students sample in 4 steps without classifier-free guidance on the teacher's grid.
Key Features
Few-step diffusion distillation that trains a single shared fake model exclusively on the student's final delivered images
Precise-teacher correction using a four-node guided walk to the clean image below the last step's noise level
Calibrated query densities measured once per teacher for accurate distribution matching at every step
Ready-to-use 4-step LoRA students for SD3-Medium and FLUX.2 [klein] 4B and 9B on Hugging Face
4-step sampling without classifier-free guidance through diffusers or the included inference script
Full training pipeline with per-teacher run configs, checkpoint resume, and Weights & Biases logging
DrawBench-1000 evaluation tooling scoring HPSv3++, PickScore, ImageReward, CLIP, and other reward metrics
Runs on NVIDIA GPUs and Ascend NPUs under the Apache 2.0 licence
About eDMD
Ready-to-use LoRA students are released for SD3-Medium and FLUX.2 [klein] 4B and 9B on Hugging Face, scoring 11.17, 12.70, and 12.43 respectively on DrawBench-1000 HPSv3++ in the authors' evaluation, with training configs also provided for Qwen-Image-2.1 (its LoRA weights are still pending). The full training pipeline includes per-teacher run configs, checkpoint resume, and Weights & Biases logging, plus a DrawBench-1000 evaluation suite covering HPSv3++, PickScore, ImageReward, CLIP, and other reward metrics. It runs on NVIDIA GPUs and Ascend NPUs.
eDMD is free: the code is Apache License 2.0 and the LoRA students are free downloads, though each student inherits its teacher's licence, Apache 2.0 for the FLUX.2 klein 4B student and non-commercial licences for the SD3-Medium and FLUX.2 klein 9B students, and gated teachers need their licences accepted. It is aimed at developers and researchers who want 4-step versions of diffusion image models without giving up output quality.