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 StableDiffusion3 preset #1884

Merged

Conversation

james77777778
Copy link
Collaborator

@james77777778 james77777778 commented Sep 26, 2024

This PR adapts #1860 with minor updates to support config_name in preprocessor as well. This is neccssary for SD3, as it has a nested preprocessor.

A small bug in CLIPTokenizer and CLIPPreprocessor has been addressed.

A demo colab showcasing a very clean API for generating new images:
https://colab.research.google.com/drive/1ucx2lEck1ZO3HVTjZ4qgVsQrBWrHWfVQ?usp=sharing

https://www.kaggle.com/models/kerashub/stablediffusion3

@divyashreepathihalli @mattdangerw @SamanehSaadat

Copy link
Collaborator

@divyashreepathihalli divyashreepathihalli left a comment

Choose a reason for hiding this comment

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

LGTM! Thank you!!

@divyashreepathihalli divyashreepathihalli added the kokoro:force-run Runs Tests on GPU label Sep 26, 2024
@divyashreepathihalli divyashreepathihalli merged commit a10de04 into keras-team:master Sep 26, 2024
7 checks passed
@james77777778 james77777778 deleted the add-sd3-weights branch September 27, 2024 00:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kokoro:force-run Runs Tests on GPU
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants