Diffusers is the go-to library for state-of-the-art pretrained diffusion models for generating images, audio, and even 3D structures of molecules. Whether you're looking for a simple inference solution or training your own diffusion models, Diffusers is a modular toolbox that supports both. Our library is designed with a focus on usability over performance, simple over easy, and customizability over abstractions. State-of-the-art diffusion pipelines that can be run in inference with just a few lines of code. Interchangeable noise schedulers for different diffusion speeds and output quality. Pretrained models that can be used as building blocks, and combined with schedulers, for creating your own end-to-end diffusion systems. We recommend installing Diffusers in a virtual environment from PyPi or Conda. For more details about installing PyTorch and Flax, please refer to their official documentation.

Features

  • Apple Silicon (M1/M2) support
  • State-of-the-art diffusion pipelines that can be run in inference with just a few lines of code
  • Interchangeable noise schedulers for different diffusion speeds and output quality
  • Pretrained models that can be used as building blocks
  • Schedulers, for creating your own end-to-end diffusion systems
  • To generate an image from text, use the from_pretrained method to load any pretrained diffusion model

Project Samples

Project Activity

See All Activity >

License

Apache License V2.0

Follow Diffusers

Diffusers Web Site

Other Useful Business Software
Go from Code to Production URL in Seconds Icon
Go from Code to Production URL in Seconds

Cloud Run deploys apps in any language instantly. Scales to zero. Pay only when code runs.

Skip the Kubernetes configs. Cloud Run handles HTTPS, scaling, and infrastructure automatically. Two million requests free per month.
Try it free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Diffusers!

Additional Project Details

Programming Language

Python

Related Categories

Python AI Image Generators, Python Generative AI, Python LLM Inference Tool

Registered

2023-03-22