SDXL-base-1.0 LDM: https://huggingface.co./stabilityai/stable-diffusion-xl-base-1.0

SDXL-base-1.0 LCM-Lora: https://huggingface.co./latent-consistency/lcm-lora-sdxl

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

Sample usage:

import torch
from diffusers import StableDiffusionXLPipeline

pipe = StableDiffusionXLPipeline.from_pretrained("qiacheng/stable-diffusion-xl-base-1.0-lcm")

prompt = "a cat"

height = 1024
width = 1024
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
2
Inference Examples
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.