Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Latent Consistency Models Support #1331

Open
julien-blanchon opened this issue Nov 14, 2023 · 0 comments
Open

Latent Consistency Models Support #1331

julien-blanchon opened this issue Nov 14, 2023 · 0 comments

Comments

@julien-blanchon
Copy link
Contributor

julien-blanchon commented Nov 14, 2023

Brief introduction to Latent Consistency Models

Latent Consistency Models (LCMs) are a novel approach in image synthesis that enhance pre-trained Latent Diffusion Models, such as Stable Diffusion 1.5 / SDX, by enabling high-resolution image generation with significantly fewer diffusion steps.
They achieve this by predicting the solution of the underlying ODE instead of predicting the score function and then propagate it.

Paper main page
Paper repo

Current state

The original version of LCMs could be used with two method:

Currently Standalone LCMs are already available in 🤗 Diffusers under LCM Pipeline and LCM Scheduler.

A pretrain version of LCM on SSD1B is available and achieve very good result, I would like to implement it here in Candle because this might enable a fast image generation directly in browser with WASM.

Are you guys interested in implementing LCM here ? The most direct way would be to implement Stable Diffusion LoRA, so it will also enable the usage of any custom LoRA aside of LCM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant