Text-to-Image
Diffusers
lora
patrickvonplaten commited on
Commit
0801633
·
1 Parent(s): 0f5db1b

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -3
README.md CHANGED
@@ -1,6 +1,6 @@
1
  ---
2
  library_name: diffusers
3
- base_model: runwayml/stable-diffusion-v1-5
4
  tags:
5
  - lora
6
  - text-to-image
@@ -13,7 +13,7 @@ inference: false
13
  Latent Consistency Model (LCM) LoRA was proposed in [LCM-LoRA: A universal Stable-Diffusion Acceleration Module](TODO:)
14
  by *Simian Luo, Yiqin Tan, Suraj Patil, Daniel Gu et al.*
15
 
16
- It is a distilled consistency adapter for [`segmind/SSD-1B`](https://huggingface.co/runwayml/stable-diffusion-v1-5) that allows
17
  to reduce the number of inference steps to only between **2 - 8 steps**.
18
 
19
  | Model | Params / M |
@@ -43,7 +43,7 @@ import torch
43
  from diffusers import LCMScheduler, AutoPipelineForText2Image
44
 
45
  model_id = "segmind/SSD-1B"
46
- adapter_id = "latent-consistency/lcm-lora-sdv1-5"
47
 
48
  pipe = AutoPipelineForText2Image.from_pretrained(model_id, torch_dtype=torch.float16, variant="fp16")
49
  pipe.scheduler = LCMScheduler.from_config(pipe.scheduler.config)
 
1
  ---
2
  library_name: diffusers
3
+ base_model: segmind/SSD-1B
4
  tags:
5
  - lora
6
  - text-to-image
 
13
  Latent Consistency Model (LCM) LoRA was proposed in [LCM-LoRA: A universal Stable-Diffusion Acceleration Module](TODO:)
14
  by *Simian Luo, Yiqin Tan, Suraj Patil, Daniel Gu et al.*
15
 
16
+ It is a distilled consistency adapter for [`segmind/SSD-1B`](https://huggingface.co/segmind/SSD-1B) that allows
17
  to reduce the number of inference steps to only between **2 - 8 steps**.
18
 
19
  | Model | Params / M |
 
43
  from diffusers import LCMScheduler, AutoPipelineForText2Image
44
 
45
  model_id = "segmind/SSD-1B"
46
+ adapter_id = "latent-consistency/lcm-lora-ssd-1b"
47
 
48
  pipe = AutoPipelineForText2Image.from_pretrained(model_id, torch_dtype=torch.float16, variant="fp16")
49
  pipe.scheduler = LCMScheduler.from_config(pipe.scheduler.config)