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

Feat: Add LCM sampler and DPM++ 2M alt samplers by patching k_diffusion on the fly

Open SLAPaper opened this issue 1 year ago • 2 comments

Description

  • Adding LCM sampler for LCM model and LCM Loras
  • Adding DPM++ 2M alt samplers

The implementation code comes from:

  • LCM: https://www.bilibili.com/video/BV1TH4y1q7yG/
  • DPM++ 2M alt(s): https://github.com/AUTOMATIC1111/stable-diffusion-webui/discussions/8457

Screenshots/videos:

Checklist:

SLAPaper avatar Nov 26 '23 15:11 SLAPaper

nice. with this one we can directly use LCM LoRAs right?

FurkanGozukara avatar Nov 26 '23 20:11 FurkanGozukara

pls remove LCM sampler for the time being. I am collaborating with the original author and implemented LCM sampler in my AnimateDiff extension, the original author will debug line-by-line until he is satisfied later on. There is another component missing in this PR, regarding LCM sampler.

After he is satisfied, I will submit a PR about LCM sampler.

continue-revolution avatar Nov 27 '23 06:11 continue-revolution

pls remove LCM sampler for the time being. I am collaborating with the original author and implemented LCM sampler in my AnimateDiff extension, the original author will debug line-by-line until he is satisfied later on. There is another component missing in this PR, regarding LCM sampler.

After he is satisfied, I will submit a PR about LCM sampler.

Is LCM sampler is available for use Now?

bigmover avatar Mar 08 '24 02:03 bigmover

@bigmover update your webui to 1.8.0

continue-revolution avatar Mar 08 '24 02:03 continue-revolution

Implemented with an extension: https://github.com/SLAPaper/StableDiffusion-dpmpp_2m_alt-Sampler

so close this PR

SLAPaper avatar May 11 '24 06:05 SLAPaper