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")
- Downloads last month
- 40
This model does not have enough activity to be deployed to Inference API (serverless) yet. Increase its social
visibility and check back later, or deploy to Inference Endpoints (dedicated)
instead.