huggingface/diffusers

🤗 Diffusers: State-of-the-art diffusion models for image, video, and audio generation in PyTorch.

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 41 minutes ago
Added to GitGenius on November 21st, 2023
Created on May 30th, 2022
Open Issues & Pull Requests: 1,396 (+2)
Number of forks: 7,265
Total Stargazers: 34,363 (+0)
Total Subscribers: 219 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 10.3 hours
Mean response time: 66.1 days
90th percentile: 271.9 days
Tracked items: 2,289

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 94% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Work labelled "bug" is answered fastest, typically in about 6 hours, while "New pipeline/model" waits about 15 months. 64% of tracked open issues have had no activity in three months, so the open count overstates what is actively being worked. Only 4% of issues opened in the past year have been closed.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 802
New in 7 days: 7
Closed in 7 days: 4
Avg open age: 351 days
Stale 30+ days: 730
Stale 90+ days: 672

Recent activity

Opened in 7 days: 5
Closed in 7 days: 4
Comments in 7 days: 24
Events in 7 days: 77

Top labels

  • bug (2,398)
  • stale (1,861)
  • contributions-welcome (205)
  • good first issue (86)
  • Good second issue (70)
  • community-examples (69)
  • wip (62)
  • help wanted (60)

Detailed Description

The Diffusers repository is a PyTorch library maintained by Hugging Face that provides state-of-the-art pretrained diffusion models for generating images, video, and audio. The library is designed around three core philosophical principles: usability over performance, simplicity over ease, and customizability over abstraction. It offers three main components that work together: diffusion pipelines that enable inference with minimal code, interchangeable noise schedulers that control diffusion speed and output quality, and pretrained models that serve as building blocks for constructing custom diffusion systems.

The library supports a wide range of generative tasks including text-to-image generation, image-to-image translation, image-to-video conversion, and video-to-video processing. It includes implementations of major diffusion model architectures like Stable Diffusion, Latent Diffusion Models, and support for models from other sources such as Qwen Image and Flux. The repository also covers score-based generative modeling approaches and provides tools for generating 3D molecular structures.

Installation is straightforward through PyPI or Conda, with specific guidance provided for Apple Silicon support. The quickstart functionality allows users to load any of over 30,000 pretrained checkpoints from the Hugging Face Hub using the from_pretrained method, enabling image generation from text with just a few lines of code. The documentation is organized into tutorials covering basic usage, loading guides for all components, pipeline inference techniques, optimization strategies for faster and more memory-efficient execution, and training guides for different tasks and techniques.

The project actively encourages open-source contributions through clearly labeled issue categories including good first issues for newcomers, new model and pipeline requests for adding exciting diffusion architectures, and new scheduler opportunities. Contributors are directed to project conventions in the .ai directory for guidance when working with AI agents. The repository maintains a public Discord channel for community discussion about diffusion model trends and collaborative development.