Files
diffusers/docs/source/en/using-diffusers/pipeline_overview.md
Sayak Paul 30e5e81d58 change to 2024 in the license (#6902)
change to 2024
2024-02-08 08:19:31 -10:00

1.4 KiB

Overview

A pipeline is an end-to-end class that provides a quick and easy way to use a diffusion system for inference by bundling independently trained models and schedulers together. Certain combinations of models and schedulers define specific pipeline types, like [StableDiffusionXLPipeline] or [StableDiffusionControlNetPipeline], with specific capabilities. All pipeline types inherit from the base [DiffusionPipeline] class; pass it any checkpoint, and it'll automatically detect the pipeline type and load the necessary components.

This section demonstrates how to use specific pipelines such as Stable Diffusion XL, ControlNet, and DiffEdit. You'll also learn how to use a distilled version of the Stable Diffusion model to speed up inference, how to create reproducible pipelines, and how to use and contribute community pipelines.