-
Notifications
You must be signed in to change notification settings - Fork 6.6k
SDXL flax #4254
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
Merged
Merged
SDXL flax #4254
Changes from 17 commits
Commits
Show all changes
45 commits
Select commit
Hold shift + click to select a range
cbdd6d6
support transformer_layers_per block in flax UNet
mar-muel 4c78659
add support for text_time additional embeddings to Flax UNet
mar-muel 3aa3164
rename attention layers for VAE
mar-muel bc267e4
add shape asserts when renaming attention layers
mar-muel ea0e675
transpose VAE attention layers
mar-muel 1cc6c37
add pipeline flax SDXL code [WIP]
mar-muel 9771feb
continue add pipeline flax SDXL code [WIP]
mar-muel 1137263
cleanup
mar-muel f02d795
Working on JIT support
pcuenca e6eaee0
Merge remote-tracking branch 'origin/main' into sdxl-flax
pcuenca ff46fa2
Fixing embeddings (untested)
pcuenca dfc3c81
Remove spurious line
pcuenca 484e516
Shard guidance_scale when jitting.
pcuenca 70e1058
Decode images
pcuenca 2620ff3
Merge remote-tracking branch 'origin/main' into sdxl-flax
pcuenca 8e63802
Fix sharding
pcuenca 4fd885a
style
pcuenca 27d26ca
Refiner UNet can be loaded.
pcuenca 61d93f4
Refiner / img2img pipeline
pcuenca 636d69f
Allow latent outputs from base and latent inputs in refiner
pcuenca 3a00bfe
Adapt to FlaxCLIPTextModelOutput
pcuenca a6442f7
Merge branch 'sdxl-flax' of github.com:huggingface/diffusers into sdx…
pcuenca cba4327
Update Flax XL pipeline to FlaxCLIPTextModelOutput
pcuenca a34ca77
Merge remote-tracking branch 'origin/main' into sdxl-flax
pcuenca 4411bef
make fix-copies
pcuenca 5dc45d8
make style
pcuenca dd64ffa
add euler scheduler
patil-suraj 3a3850f
Merge remote-tracking branch 'origin' into sdxl-flax
pcuenca 66fd712
Fix import
pcuenca 4ecbc3f
Fix copies, comment unused code.
pcuenca 0a5be23
Fix SDXL Flax imports
pcuenca 2bcf68d
Fix euler discrete begin
patrickvonplaten a9f3404
improve init import
patrickvonplaten cba9f04
finish
patrickvonplaten 2c8e77f
put discrete euler in init
patrickvonplaten 461be99
fix flax euler
patrickvonplaten a975fc0
Merge branch 'sdxl-flax' of https://github.com/huggingface/diffusers …
patrickvonplaten d02a50b
Fix more
patrickvonplaten 53d595a
fix
patrickvonplaten 3e1ffba
make style
patrickvonplaten e01da93
correct init
patrickvonplaten 4346ed3
correct init
patrickvonplaten da22045
Temporarily remove FlaxStableDiffusionXLImg2ImgPipeline
pcuenca c503a36
correct pipelines
patrickvonplaten b52c56d
finish
patrickvonplaten File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this num heads or
"head_dim"?