Skip to content

Diffusers

A unified implementation and scheduler for diffusion models

Hugging Face Tool Open source

What it is

Diffusers is an open-source library from Hugging Face, released in 2022, offering a unified implementation of diffusion models. It splits a generation run into a model, a scheduler and a pipeline, so any part can be swapped without rewriting the flow. It targets the difficulty of aligning and reproducing results across the many implementations behind text-to-image, image-to-image and image editing.

Its modular split into model, scheduler and pipeline made diffusion experiments and comparisons reproducible, rather than collections of result images.

Key specs

Components
Model + scheduler + pipeline
Pipelines
Text-to-image, image-to-image, editing and more

Related concepts

Generative AI

Diffusion ModelsIntermediate

Learn a thousand tiny denoising steps, and you can build an image from pure noise

5Linked
Figures 1 · Data 1

Comparable products

Hugging Face

Transformers

One API to load and train pretrained models

2Linked
Tool Open source
2018

Hugging Face

Datasets

Load and stream datasets with one line of code

2Linked
Tool Open source
2020