Skip to content

Would a new "AutoPipeline" API abstraction be helpful? #3855

@patrickvonplaten

Description

@patrickvonplaten

Many checkpoints can be used for different tasks, e.g. img2img, text2img, but in order to do this at the moment, one has to know what pipelines are linked to each other, e.g. one has to know that StableDiffusionPipeline is linked to StableDiffusionImg2ImgPipeline when switching from text2img to img2img. Would a new API such as:

AutoForText2Image, AutoForImage2Image, and AutoForInpainting, so that the following case is possible:

from diffusers import AutoForText2Image

text2img = AutoForText2Image.from_pretrained("runwayml/stable-diffusion-v1-5")

img2img = AutoForImage2Image(**text2img.components)

Metadata

Metadata

Assignees

Labels

staleIssues that haven't received updates

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions