ml-stable-diffusion icon indicating copy to clipboard operation
ml-stable-diffusion copied to clipboard

Supporting other samplers in the Swift implementation

Open jverkoey opened this issue 3 years ago • 3 comments

It looks like the Scheduler only supports the PLMS sampler method. Is it possible to also support other samplers such as Euler?

jverkoey avatar Dec 08 '22 08:12 jverkoey

Hi @jverkoey! I recently proposed this PR, which does two things:

  • Convert Scheduler into a protocol.
  • Implement a new scheduler (DPM-Solver++) using that protocol.

If it is accepted, it should be easy to add other schedulers. I'm currently using that implementation (from a fork) to support a native app I wrote.

What schedulers would you be interested in?

pcuenca avatar Dec 14 '22 15:12 pcuenca

Is there anyway to realize Euler scheduler in Swift?

H1p3ri0n avatar Dec 26 '22 10:12 H1p3ri0n

+1, Mac users are handicapped by this limitation 😢

kartzke avatar Jul 25 '23 23:07 kartzke