Home Artists Posts Import Register

Content

There's been a breakthrough recently in regard to stabledifussion image generation with what are known as LCM (Latent Consistency Models). This new method of generating images should allow accelerating the process of generating image making it considerably faster. There are many ways to put it to good use, there are new models that have it already in them (they have LCM in their names), but here's the simplest way to use it with any of the existing (SD1.5) AI models:

SPEEDING UP AUTOMATIC1111

1.Install sd-webui-animatediff

In Automatic1111 go to Extensions > Available > Click Load From > search for "sd-webui-animatediff" and install it. I covered this a bit in my Animation guide. sd-webui-animatediff is a pack that allows doing animation with AUTOMATIC1111, but it also includes something that will help with this LCM process here (a LCM sampler).

2. Download the LCM LoRA

Download the LCM LoRA from civitai and add it to your [Automatic1111 folder]/models/Lora folder and restart Automatic1111

HOW TO USE IT

To speed things up, when generating images you need to:

1. select the LCM sampling method, not Euler or the others. If you don't have it, step 1 above wasn't completed successfully

2. Reduce CFG scale to something between 1 and 3, if it's bigger than that the images will have lots of artefacts

3. Reduce the number of Sampling steps. You can cut in half, or even more, what you normally used, to get the same kind of quality as before

4. Go to the LoRA section and add the LCM LoRA to the prompt:

When you click on that it will add this to the prompt "<lora:LCM_LoRA_Weights_SD15:1>" which will activate the LCM LoRA when generating the images. That part needs to be in the prompts for this to work.

Doing this should allow generating images considerably faster, or allow you to generate images twice or three times as big or detailed in the same amount of time as before!

Files

Comments

SPQRAeternum

It is! I made some updates to Alive v66 to be able to work with this new sampler too Taking AI photos there now is almost instant.

Dakoto

I don't have LCM in the sampling method, there is something to do to add it ? i go a load but not this one :(

SPQRAeternum

Do you mean in A1111 or in Alive? In Alive v65 or lower it will not appear. I added a change in Alive v66 to get all the local samplers from A1111 and it will work with LCM too. If it doesn't appear in A1111, are you sure you installed sd-webui-animatediff? If so, do you get any errors when starting up A1111?

MB

Guys IU'm so sorry but can someone circle the place to download alive or aeternum.cslist please i beg you. I've been looking all day

SPQRAeternum

Hello, that's in the Alive posts marked with "(files)" in the titles. The most recent release is v65 here https://www.patreon.com/posts/plugin-update-96419255 , the link should be at the bottom of the post

bashr

This is quite literally the easiest install there is. RTFM and contribute to making things better or stop fucking complaining. This guy is creating some amazing content, what did you do today?