Diffusers
Hugging Face library of diffusion pipelines, schedulers and model components for image, video and audio generation.
Diffusers packages state-of-the-art diffusion models as modular pipelines, so you can swap schedulers, add adapters such as LoRA or ControlNet, and fine-tune with provided scripts. It prioritises readable, hackable code over hidden magic. Like Transformers, it loads weights from the Hub, and each checkpoint keeps its own licence.
- Type
- Library
- Category
- AI & ML
- Maintainer
- Hugging Face
- First released
- 2022
- License
- Open source (Apache-2.0)
- Pricing
- Open source — Library is Apache-2.0; image/video model weights carry their own licences.
- Level
- Intermediate
- Technologies
- python, pytorch, generative-ai, computer-vision
- GitHub stars
- 35,034
- Weekly downloads
- 1,579,518 (pypi)
- Latest release
- [object Object]
- Last verified
- 26 Nov 2026
What Diffusers is used for
- Text-to-image and image-to-image generation
- Training LoRA adapters
- Research on diffusion samplers
Strengths
- Modular pipelines
- Broad model support
- Good training examples
Limitations
- GPU memory hungry
- Node-based UIs like ComfyUI may suit non-coders better
Diffusers alternatives
How it relates to other tools
- Diffusers built on PyTorch
- Diffusers works with Stable Diffusion (Stability AI)
- Diffusers works with Hugging Face Hub
- Diffusers works with PEFT