ckpt / lcm-sdxl-unet

huggingface.co
Total runs: 70
24-hour runs: 2
7-day runs: -1
30-day runs: 50
Model's Last Updated: November 10 2023
text-to-image

Introduction of lcm-sdxl-unet

Model Details of lcm-sdxl-unet

Latent Consistency Model (LCM): SDXL

Latent Consistency Model (LCM) was proposed in Latent Consistency Models: Synthesizing High-Resolution Images with Few-Step Inference by Simian Luo, Yiqin Tan et al. and Simian Luo , Suraj Patil , and Daniel Gu succesfully applied the same approach to create LCM for SDXL.

This checkpoint is a LCM distilled version of stable-diffusion-xl-base-1.0 that allows to reduce the number of inference steps to only between 2 - 8 steps .

Usage

LCM SDXL is supported in 🤗 Hugging Face Diffusers library from version v0.23.0 onwards. To run the model, first install the latest version of the Diffusers library as well as peft , accelerate and transformers . audio dataset from the Hugging Face Hub:

pip install --upgrade pip
pip install --upgrade diffusers transformers accelerate peft
Text-to-Image

The model can be loaded with it's base pipeline stabilityai/stable-diffusion-xl-base-1.0 . Next, the scheduler needs to be changed to LCMScheduler and we can reduce the number of inference steps to just 2 to 8 steps. Please make sure to either disable guidance_scale or use values between 1.0 and 2.0.

from diffusers import UNet2DConditionModel, DiffusionPipeline, LCMScheduler

unet = UNet2DConditionModel.from_pretrained("latent-consistency/lcm-sdxl", torch_dtype=torch.float16, variant="fp16")
pipe = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-xl-base-1.0", unet=unet, torch_dtype=torch.float16, variant="fp16")

pipe.scheduler = LCMScheduler.from_config(sd_pipe.scheduler.config)
pipe.to("cuda")

prompt = "a close-up picture of an old man standing in the rain"

image = pipe(prompt, num_inference_steps=4, guidance_scale=8.0).images[0]

Image-to-Image

Works as well! TODO docs

Inpainting

Works as well! TODO docs

ControlNet

Works as well! TODO docs

T2I Adapter

Works as well! TODO docs

Speed Benchmark

TODO

Training

TODO

Runs of ckpt lcm-sdxl-unet on huggingface.co

70
Total runs
2
24-hour runs
5
3-day runs
-1
7-day runs
50
30-day runs

More Information About lcm-sdxl-unet huggingface.co Model

More lcm-sdxl-unet license Visit here:

https://choosealicense.com/licenses/openrail++

lcm-sdxl-unet huggingface.co

lcm-sdxl-unet huggingface.co is an AI model on huggingface.co that provides lcm-sdxl-unet's model effect (), which can be used instantly with this ckpt lcm-sdxl-unet model. huggingface.co supports a free trial of the lcm-sdxl-unet model, and also provides paid use of the lcm-sdxl-unet. Support call lcm-sdxl-unet model through api, including Node.js, Python, http.

lcm-sdxl-unet huggingface.co Url

https://huggingface.co/ckpt/lcm-sdxl-unet

ckpt lcm-sdxl-unet online free

lcm-sdxl-unet huggingface.co is an online trial and call api platform, which integrates lcm-sdxl-unet's modeling effects, including api services, and provides a free online trial of lcm-sdxl-unet, you can try lcm-sdxl-unet online for free by clicking the link below.

ckpt lcm-sdxl-unet online free url in huggingface.co:

https://huggingface.co/ckpt/lcm-sdxl-unet

lcm-sdxl-unet install

lcm-sdxl-unet is an open source model from GitHub that offers a free installation service, and any user can find lcm-sdxl-unet on GitHub to install. At the same time, huggingface.co provides the effect of lcm-sdxl-unet install, users can directly use lcm-sdxl-unet installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

lcm-sdxl-unet install url in huggingface.co:

https://huggingface.co/ckpt/lcm-sdxl-unet

Url of lcm-sdxl-unet

lcm-sdxl-unet huggingface.co Url

Provider of lcm-sdxl-unet huggingface.co

ckpt
ORGANIZATIONS

Other API from ckpt

huggingface.co

Total runs: 13.7K
Run Growth: 12.3K
Growth Rate: 89.77%
Updated:January 31 2023
huggingface.co

Total runs: 4.9K
Run Growth: -1.8K
Growth Rate: -37.15%
Updated:July 06 2023
huggingface.co

Total runs: 1.0K
Run Growth: -112
Growth Rate: -10.84%
Updated:April 06 2023
huggingface.co

Total runs: 445
Run Growth: 82
Growth Rate: 18.43%
Updated:November 17 2024
huggingface.co

Total runs: 347
Run Growth: 225
Growth Rate: 64.84%
Updated:January 28 2023
huggingface.co

Total runs: 37
Run Growth: 1
Growth Rate: 2.70%
Updated:October 22 2023
huggingface.co

Total runs: 25
Run Growth: -26
Growth Rate: -104.00%
Updated:June 06 2024
huggingface.co

Total runs: 24
Run Growth: -26
Growth Rate: -108.33%
Updated:June 06 2024
huggingface.co

Total runs: 19
Run Growth: 0
Growth Rate: 0.00%
Updated:October 22 2023
huggingface.co

Total runs: 15
Run Growth: 3
Growth Rate: 20.00%
Updated:January 28 2023
huggingface.co

Total runs: 13
Run Growth: 2
Growth Rate: 15.38%
Updated:January 28 2023
huggingface.co

Total runs: 7
Run Growth: -1
Growth Rate: -14.29%
Updated:March 31 2023
huggingface.co

Total runs: 7
Run Growth: -24
Growth Rate: -342.86%
Updated:November 20 2023
huggingface.co

Total runs: 3
Run Growth: -3
Growth Rate: -100.00%
Updated:January 28 2023
huggingface.co

Total runs: 1
Run Growth: -5
Growth Rate: -500.00%
Updated:November 10 2023
huggingface.co

Total runs: 1
Run Growth: -4
Growth Rate: -400.00%
Updated:September 23 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:April 28 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:March 20 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:April 24 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:January 26 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:January 26 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:February 17 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:March 30 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:April 15 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:May 19 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:May 04 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:April 04 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:January 26 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:November 01 2022
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:July 27 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:April 14 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:January 26 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:April 24 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:June 08 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:May 13 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:August 08 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:January 26 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:April 14 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:April 24 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:April 24 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:May 07 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:April 14 2023