-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Flax pipeline pndm #583
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
Flax pipeline pndm #583
Changes from 26 commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
b9ca406
WIP: flax FlaxDiffusionPipeline & FlaxStableDiffusionPipeline
mishig25 30abc63
todo comment
mishig25 9b54559
Merge branch 'main' into flax_pipeline
4b2becb
Fix imports
mishig25 7f0e429
Fix imports
mishig25 d9e2ae1
add dummies
patrickvonplaten d51e881
Fix empty init
mishig25 741046d
Merge branch 'flax_pipeline' of https://github.com/huggingface/diffus…
mishig25 7aab68d
make pipeline work
patrickvonplaten 7d3fff6
merge conflict
patrickvonplaten 47d7739
up
patrickvonplaten 4dfcf21
Allow dtype to be overridden on model load.
pcuenca d480534
Convert params to bfloat16 or fp16 after loading.
pcuenca 0c2a868
Use Flax schedulers (typing, docstring)
pcuenca a71e6be
Merge branch 'flax_pipeline' into flax_pipeline_bf16
pcuenca aa3c010
PNDM: replace control flow with jax functions.
pcuenca d6dbb89
Pass latents shape to scheduler set_timesteps()
pcuenca 69b1d7a
Wrap model imports inside availability checks.
pcuenca 7091c1d
Merge branch 'flax_pipeline' into flax_pipeline_pndm
pcuenca 23f7d73
Optionally return state in from_config.
pcuenca 163df38
Do not convert model weights to dtype.
pcuenca 039d1d6
Merge branch 'flax_pipeline_bf16' into flax_pipeline_pndm
pcuenca 8bc06b0
Re-enable PRK steps with functional implementation.
pcuenca 3752bbc
Merge remote-tracking branch 'origin/main' into flax_pipeline_pndm
pcuenca 8a9ccf2
Remove left over has_state var.
pcuenca cf6cd7a
make style
pcuenca f974a41
Apply suggestion list -> tuple
pcuenca ce0a327
Apply suggestion list -> tuple
pcuenca 7fcbc32
Remove unused comments.
pcuenca cd17c56
Use zeros instead of empty.
pcuenca 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
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.
Uh oh!
There was an error while loading. Please reload this page.