diffusers 0.20.0




Stars: 17290, Watchers: 17290, Forks: 3493, Open Issues: 366

The huggingface/diffusers repo was created 1 years ago and the last code push was 2 hours ago.
The project is extremely popular with a mindblowing 17290 github stars!

How to Install diffusers

You can install diffusers using pip

pip install diffusers

or add it to a project with poetry

poetry add diffusers

Package Details

The HuggingFace team
GitHub Repo:


  • Scientific/Engineering/Artificial Intelligence
No  diffusers  pypi packages just yet.


A list of common diffusers errors.

Code Examples

Here are some diffusers code examples and snippets.

GitHub Issues

The diffusers package has 366 open issues on GitHub

  • Loading StableDiffusionXLControlNetPipeline from single file
  • How to call a different scheduler when training a model from repo
  • Add SDXL long weighted prompt pipeline (replace pr:4629)
  • Should AudioLDM pipeline use separate unet class
  • StableDiffusionXLControlNetPipeline is missing denoising_end
  • Fix Disentangle ONNX and non-ONNX pipeline
  • add data_dir parameter when calling load_dataset
  • Different results after DDIM inverse.
  • Allow passing a checkpoint state_dict to convert_from_ckpt (instead of just a string path)
  • Key-Locked Rank One Editing for Text-to-Image Personalization
  • if "text_embeds" not in added_cond_kwargs: TypeError: argument of type 'NoneType' is not iterable
  • raise EnvironmentError( OSError: Error no file named config.json found in directory /workspace/canny/ControlNet-v1-1.
  • convert controlnet to onnx failed
  • Implementing Fooocus
  • [docs] ControlNet guide

See more issues on GitHub

Related Packages & Articles

clean-fid 0.1.35

FID calculation in PyTorch with proper image resizing and quantization steps

ludwig 0.8.1.post1

Declarative machine learning: End-to-end machine learning pipelines using data-driven configurations.

auto-gptq 0.3.2

An easy-to-use LLMs quantization package with user-friendly apis, based on GPTQ algorithm.

detectors 0.1.10

This is a comprehensive library for generalized Out-of-Distribution (OOD) detection research. It provides over 20 detection methods, evaluation pipelines, OOD datasets, and model architectures integrated with timm. Additionally, it offers fast OOD evaluation metrics, multi-layer detection methods, and pipelines for open set recognition and covariate drift detection.

flwr 1.4.0

Flower: A Friendly Federated Learning Framework