This is an early release preview. You may encounter bugs.
Diffusers logo
Unclaimed

Tool generative-media inference training

Diffusers

Library of pretrained diffusion models for generating images, audio, and 3D structures, for inference or training

Built by Hugging Face

A 88/100 GitHub score ? This grade is derived from GitHub signals, not user votes. Open for the full breakdown.
No votes yet

01 / About

What Diffusers is.

Diffusers is a Python library from Hugging Face for working with pretrained diffusion models that generate images, audio, and 3D molecular structures. It serves both inference and training, and its design prioritises usability over performance, simple over easy, and customisability over abstractions.

The library has three building blocks: pipelines that run a full diffusion task in a few lines of code, interchangeable noise schedulers that trade speed against output quality, and pretrained model components (such as UNets and VAEs) that you combine with a scheduler to assemble your own end-to-end diffusion system. DiffusionPipeline.from_pretrained loads any of the 30,000+ Diffusers-format checkpoints on the Hugging Face Hub. Modular Diffusers lets you compose pipelines from modular components, and guides cover loading, memory and speed optimisation, and training with different techniques.

Task coverage includes:

Features

  • Unconditional generation: DDPM
  • Text-to-image: Stable Diffusion, unCLIP, DeepFloyd IF, and Kandinsky
  • Text-guided image-to-image: ControlNet, InstructPix2Pix, and Stable Diffusion img2img
  • Inpainting: Stable Diffusion inpainting
  • Image variation and super-resolution: Stable Diffusion image variation and the x4 upscaler
  • Schedulers: swap DDPM, DDIM, and other samplers without changing the model
  • Training: scripts and guides for training and fine-tuning diffusion models
  • Optimisation: fp16 and other memory and speed guides, including Apple Silicon (MPS) support
  • Agent conventions: a .ai/ directory of project conventions installable as a Claude plugin or as individual skills

02 / Discussion CREDIBILITY-GATED

Discussion

Reading is open to everyone. Posting and voting need a verified identity or a GitHub grade of B or higher.

  • No discussions yet.

04 / Build

Build with Diffusers.

Browse the catalogue for frameworks, tools, and harnesses, each scored on real GitHub credibility.

Get Diffusers →

Browse the catalogue