Files
diffusers/docs/source/en/api/diffusion_pipeline.md
camenduru c6ae9b7df6 Where did this 'x' come from, Elon? (#4277)
* why mdx?

* why mdx?

* why mdx?

* no x for kandinksy either

---------

Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com>
2023-07-26 18:18:14 +02:00

1.5 KiB

Pipelines

The [DiffusionPipeline] is the quickest way to load any pretrained diffusion pipeline from the Hub for inference.

You shouldn't use the [DiffusionPipeline] class for training or finetuning a diffusion model. Individual components (for example, [UNet2DModel] and [UNet2DConditionModel]) of diffusion pipelines are usually trained individually, so we suggest directly working with them instead.

The pipeline type (for example [StableDiffusionPipeline]) of any diffusion pipeline loaded with [~DiffusionPipeline.from_pretrained] is automatically detected and pipeline components are loaded and passed to the __init__ function of the pipeline.

Any pipeline object can be saved locally with [~DiffusionPipeline.save_pretrained].

DiffusionPipeline

autodoc DiffusionPipeline - all - call - device - to - components