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

Add cos xl #710

Merged
merged 4 commits into from
May 23, 2024
Merged

Add cos xl #710

merged 4 commits into from
May 23, 2024

Conversation

GavChap
Copy link

@GavChap GavChap commented May 6, 2024

Description

  • Add support for cosxl and other vpred EDM checkpoints
  • Added code to sort the above

Cos Stable Diffusion XL (CosXL) 1.0 Base is tuned to use a Cosine-Continuous EDM VPred schedule. The most notable feature of this schedule change is its capacity to produce the full color range from pitch black to pure white, alongside more subtle improvements to the model's rate-of-change to images across each step.

This improves the colour range considerably over SDXL.

A few models are available on CivitAI at the following link: https://civitai.com/search/models?sortBy=models_v9&query=CosXL
The official model is here: https://huggingface.co/stabilityai/cosxl

Download a model and place it in the normal checkpoint directory and use it as a normal model, no settings changes needed as it's detected by the code change below.

image

Example output
image

image

Checklist:

@GavChap GavChap requested a review from lllyasviel as a code owner May 6, 2024 07:20
@GavChap GavChap closed this May 6, 2024
@GavChap GavChap reopened this May 6, 2024
Copy link
Contributor

@huchenlei huchenlei left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add a short summary of how to use this new feature? e.g. where to download checkpoints, and steps with screenshots of GUI to use the feature.

@GavChap
Copy link
Author

GavChap commented May 23, 2024

Can you add a short summary of how to use this new feature? e.g. where to download checkpoints, and steps with screenshots of GUI to use the feature.

Done.

@huchenlei huchenlei merged commit 77bdb92 into lllyasviel:dev2 May 23, 2024
3 checks passed
@huchenlei huchenlei mentioned this pull request May 23, 2024
4 tasks
@GavChap GavChap deleted the add_cosXL branch May 23, 2024 20:45
@Enferlain
Copy link

did this break in the previous updates since then? k_prediction.py has all the types but they don't seem to do anything

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

Successfully merging this pull request may close these issues.

3 participants