File size: 630 Bytes
7a0158c
 
 
9137b99
6fb2913
9137b99
 
 
6fb2913
9137b99
 
6fb2913
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9137b99
6fb2913
9137b99
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
29
30
31
---
license: apache-2.0
---
SD1.5 LDM: https://huggingface.co/runwayml/stable-diffusion-v1-5

SD1.5 LCM-Lora: https://huggingface.co/latent-consistency/lcm-lora-sdv1-5



SD1.5 model fused with LCM Lora, saved using diffusers .save_pretrained()

Sample usage:

```python
import torch
from diffusers import StableDiffusionPipeline

pipe = StableDiffusionPipeline.from_pretrained("qiacheng/stable-diffusion-v1-5-lcm")

prompt = "a cat"

height = 512
width = 512
steps = 6
guidance_scale = 1

output = pipe(prompt=prompt, height=height, width=width, num_inference_steps=steps, guidance_scale=guidance_scale, output_type="pil")

```