File size: 1,302 Bytes
691f85e
 
 
 
 
 
 
 
db2d616
848d042
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
db2d616
 
691f85e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
---
library_name: diffusers
pipeline_tag: text-to-image
---
# Phased Consistency Model

LoRA weights of Stable Diffusion XL for fast text-to-image generation.


Important Usage Guidance
Use DDIM or Euler instead of LCM for sampling! When using DDIM, set timestep_spacing="trailing".

The name of each LoRA weights indicates how many inference steps they should be applied.

The name of each LoRA weights indicates whether they are able to use normal CFGs or small CFGs 

NormalCFG means that model equipped with the LoRA can use CFG value 2-9 for generation. Yet you should adjust the CFG values given the steps you applied.
When using fewer steps, you should use smaller CFGs. For example, use CFG 2.5 - 3.5 with 4 four steps and use CFG 3 - 6 with 8 steps. This is because that fewer-step means the model has fewer chance to fix the issues caused by the CFG.

SmallCFG means that the model equipped with the LoRA can use CFG value 1-2 for generation.

About the performance of normal CFG LoRAs.



Note: Just find the normalCFG with 4-step is not working well. Trying to solve the issue.

[[paper](https://huggingface.co/papers/2405.18407)] [[arXiv](https://arxiv.org/abs/2405.18407)]  [[code](https://github.com/G-U-N/Phased-Consistency-Model)] [[project page](https://g-u-n.github.io/projects/pcm)]