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 →

Data as of . Signed-in members get hourly updates — create a free account.

Summary Information

Updated 10 minutes ago
Added to GitGenius on November 21st, 2023
Created on May 30th, 2022
Open Issues & Pull Requests: 1,471 (-2)
GitHub issues: Enabled
Number of forks: 7,379
Total Stargazers: 34,690 (+2)
Total Subscribers: 224 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 10.6 hours
Mean response time: 64.5 days
90th percentile: 265.2 days
Tracked items: 2,365

How this project is maintained

Roughly one issue in four opened in the past year never receives 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. 54% of tracked open issues have had no activity in three months. Only 42% of issues opened in the past year have been closed.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 866
New in 7 days: 17
Closed in 7 days: 7
Avg open age: 327 days
Stale 30+ days: 781
Stale 90+ days: 680

Recent activity

Opened in 7 days: 16
Closed in 7 days: 5
Comments in 7 days: 11
Events in 7 days: 69

Top labels

  • bug (2,435)
  • stale (1,861)
  • contributions-welcome (206)
  • good first issue (86)
  • Good second issue (70)
  • community-examples (69)
  • pipelines (68)
  • wip (62)

Most active issues this week

Sign in to see which issues are moving.
Sign in

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.