mirror of
https://github.com/vladmandic/automatic
synced 2026-08-25 22:20:46 +02:00
Page:
Using LCM
Pages
AMD MIOpen
AMD ROCm
API
Advanced Install
Benchmark
CHANGELOG
CLI Arguments
CLI Tools
CLiP Skip
Caption
Control HowTo
Control Settings
Control Technical
Debug
Detailer
Dev AICoding
Dev Docs
Dev Extensions
Dev GettingStarted
Dev Hints
Dev Home
Dev Locale
Dev SelfStart
Dev Structure
Dev Theme
Dev UI
DirectML
Docker
Enso
FAQ
FLUX
Features
FramePack
Gated
Getting Started
Google GenAI
HiDream
Home
Hotkeys
HuggingFace
IPAdapter
Ideogram
Installation
Intel ARC
Kanvas
LTX
Launcher
LoRA Technical
LoRA
Loader
MacOS Python
Malloc
MiniMax
Model Loading
Model Support
Models Tab
Models
Networks Search
Networks
Notes
NudeNet
Nunchaku
ONNX Runtime
Offload
OpenVINO
Outpaint
Parameters
Performance Timers
Performance Tuning
Platforms
Process
Profiling
Prompt Enhance
Prompting
Python
Quantization
Reprocess
SD Pipeline How it Works
SD Training Methods
SD XL
SD3
SDNQ Quantization
Schedulers
Scripts
Stability Matrix
Stable Cascade
Styles
Themes
Troubleshooting
Update
Using LCM
VAE
Video
WSL
Wildcards
XYZ Grid
ZLUDA
_ToDo
index
nVidia
Clone
7
Using LCM
Vladimir Mandic edited this page 2026-05-13 12:33:44 +02:00
Table of Contents
LCM: Latent Consistency Model
LCM (Latent Consistency Model) provides support for SD 1.5 and SD-XL models.
Installation
Download the LCM LoRA models and place them in your LoRA folder (models/lora or custom):
- For SD 1.5: lcm-lora-sdv1-5
- For SD-XL: lcm-lora-sdxl
Because both files have the same name, download them one at a time and rename each file before downloading the next.
Usage
- Load your preferred SD 1.5 or SD-XL model that you want to use LCM with
- Load the correct LCM LoRA (
lcm-lora-sdv1-5orlcm-lora-sdxl) into your prompt, for example:<lora:lcm-lora-sdv1-5:1> - Set your sampler to LCM
- Set number of steps to a low number, e.g. 4-6 steps for SD 1.5, 2-8 steps for SD-XL
- Set your CFG Scale to 1 or 2 (or somewhere between, play with it for best quality)
- Optional: enable Hypertile and/or FreeU to improve output speed and quality
- Generate!
Notes
- This also works with latent upscaling, as second pass/hires fix.
- LCM scheduler does not support steps higher than 50
- The
cli/lcm-convert.pyscript can convert any SD 1.5 or SD-XL model to an LCM model by baking in the LoRA and uploading to Huggingface