Skip to content

Add Karras Sigmas to all schedulers #2905

Description

@patrickvonplaten

Is your feature request related to a problem? Please describe.

As stated in multiple issue:

Describe the solution you'd like

It would be nice to be able to do:

scheduler = DPMSolverMultistepScheduler(use_karras_sigmas=True)

and

scheduler = DPMSolverMultistepScheduler.from_config(scheduler.config, use_karras_sigmas=True)

Describe alternatives you've considered
No alternative possible

Additional context
We have a nice PR: #2874 that solves this for the Karras stable diffusion pipeline, but it would be nice to have this for all native diffusion schedulers as well.

#2874 can be very nicely used for integration testing.

Also cc @sayakpaul @takuma104

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions