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

feat: add performance sdxl lightning #2415

Merged

Conversation

mashb1t
Copy link
Collaborator

@mashb1t mashb1t commented Mar 2, 2024

closes #2382, links to discussion #2318 & #2416

Based on https://huggingface.co/ByteDance/SDXL-Lightning/blob/main/sdxl_lightning_4step_lora.safetensors
Also read https://www.felixsanz.dev/articles/sdxl-lightning-quick-look-and-comparison#checkpoint-comparison (#2318 (comment) @felixsanz).

Disables negative prompt for even faster generation with cfg = 1, even though it's capable of handling negative prompts with cfg > 1.

@mashb1t mashb1t added the Size M medium change, isolated, testing with care label Mar 2, 2024
@mashb1t mashb1t requested a review from lllyasviel as a code owner March 2, 2024 23:43
@mashb1t mashb1t added this to the 2.3.0 milestone Mar 3, 2024
@mashb1t mashb1t changed the base branch from main to develop March 9, 2024 15:22
@mashb1t mashb1t merged commit 25650b4 into lllyasviel:develop Mar 10, 2024
@thiner
Copy link

thiner commented Mar 18, 2024

Tried several prompts, the result of lightning mode is amazing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Size M medium change, isolated, testing with care
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature: add SDXL Lightning
2 participants