Skip to content

[Feature Request]: new sampler "lcm" for lcm-loras #13952

@light-and-ray

Description

@light-and-ray

Is there an existing issue for this?

  • I have searched the existing issues and checked the recent builds/commits

What would your feature do ?

This feature requires not so much: no a new model class support, only a new sampler

LCM had major update and now we can use it like a regular lora:
https://huggingface.co/latent-consistency/lcm-lora-sdv1-5
https://huggingface.co/latent-consistency/lcm-lora-ssd-1b
https://huggingface.co/latent-consistency/lcm-lora-sdxl

We only need to rename them and put into lora models directory. Set sampling steps to 4, CFG Scale to 1.0. Sampling method to "DPM2" or "Euler a". It gives decent results, but for better work it requires a special sampler, with is similar to others but with little change. You can look how it works in ComfyUI: comfyanonymous/ComfyUI@002aefa

Proposed workflow

  1. Go to Sampling method
  2. Select LCM sampler

Additional information

How it works now
Screenshot 2023-11-12 at 00-13-13 Stable Diffusion

CompyUI's recent update:
Screenshot_20231112_001837

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions