mirror of
https://github.com/leejet/stable-diffusion.cpp.git
synced 2025-12-12 13:28:37 +00:00
694 B
694 B
LCM/LCM-LoRA
- Download LCM-LoRA form https://huggingface.co/latent-consistency/lcm-lora-sdv1-5
- Specify LCM-LoRA by adding
<lora:lcm-lora-sdv1-5:1>to prompt - It's advisable to set
--cfg-scaleto1.0instead of the default7.0. For--steps, a range of2-8steps is recommended. For--sampling-method,lcm/euler_ais recommended.
Here's a simple example:
./bin/sd -m ../models/v1-5-pruned-emaonly.safetensors -p "a lovely cat<lora:lcm-lora-sdv1-5:1>" --steps 4 --lora-model-dir ../models -v --cfg-scale 1
| without LCM-LoRA (--cfg-scale 7) | with LCM-LoRA (--cfg-scale 1) |
|---|---|
![]() |
![]() |

