Downloads · 30 days
11
1% of all-time downloads
qiacheng/stable-diffusion-v1-5-lcm
stable-diffusion-v1-5-lcm is a text-to-image model from qiacheng. Use it when you need an image from a text prompt. It is set up for diffusers. The card lists the license as apache-2.0.
SD1.5 LDM: https://huggingface.co/runwayml/stable-diffusion-v1-5
Downloads · 30 days
11
1% of all-time downloads
All-time downloads
736
Public
Parameters
860M
5.5 GB on disk
Likes
2
Public
Click a slice to open those files.
.safetensors5.5 GB · 100%
From the Hugging Face model README
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:
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")