Closed
Description
Is your feature request related to a problem? Please describe.
As stated in multiple issue:
- How can we use DPM++ 2M Karras sampler in Diffusers? #1887
- "DPMSolverMultistepScheduler "Is not" dpm++ 2M K ", "DPMSolverMultistepScheduler" = "dpm++ 2 m" Karras doesn't seem to be effective #2801
- "What Schedulers are supported on diffusers? I found some in the webUI that I couldn't find on diffusers, such as "DPM++ 2M Karras" and "DPM++ SDE Karras". Does anyone know their names on diffusers?" #2676
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