-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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] DDUF format #10037
Merged
[FEAT] DDUF format #10037
Changes from all commits
Commits
Show all changes
92 commits
Select commit
Hold shift + click to select a range
1fb86e3
load and save dduf archive
SunMarc 0389333
style
SunMarc 2eeda25
switch to zip uncompressed
SunMarc cbee7cb
Merge branch 'main' into dduf
sayakpaul d840867
updates
sayakpaul 78135f1
Merge branch 'main' into dduf
sayakpaul 7d2c7d5
Update src/diffusers/pipelines/pipeline_utils.py
SunMarc e66c4d0
Update src/diffusers/pipelines/pipeline_utils.py
SunMarc b14bffe
first draft
SunMarc 1cd5155
remove print
SunMarc b8a43e7
switch to dduf_file for consistency
SunMarc cac988a
Merge remote-tracking branch 'origin/main' into dduf
SunMarc 977baa3
switch to huggingface hub api
SunMarc 81bd097
fix log
SunMarc c4df147
Merge branch 'main' into dduf
sayakpaul d0a861c
add a basic test
sayakpaul 1ec988f
Update src/diffusers/configuration_utils.py
SunMarc 5217712
Update src/diffusers/pipelines/pipeline_utils.py
SunMarc 6922226
Update src/diffusers/pipelines/pipeline_utils.py
SunMarc 3b0d84d
fix
SunMarc 1bc953b
Merge remote-tracking branch 'origin/dduf' into dduf
SunMarc 04ecf0e
fix variant
SunMarc 9fff68a
change saving logic
SunMarc ed6c727
DDUF - Load transformers components manually (#10171)
Wauplin 17d50d1
working version with transformers and tokenizer !
SunMarc 59929a5
add generation_config case
SunMarc aa0d497
fix tests
sayakpaul a793066
Merge branch 'main' into dduf
sayakpaul 7602952
remove saving for now
SunMarc 660d7c8
typing
SunMarc 8358ef6
need next version from transformers
SunMarc 4e7d15a
Update src/diffusers/configuration_utils.py
SunMarc cc75db3
check path corectly
SunMarc 63575af
Merge remote-tracking branch 'origin/dduf' into dduf
SunMarc 1e5ebf5
Apply suggestions from code review
SunMarc 53e100b
udapte
SunMarc 54991ac
Merge remote-tracking branch 'origin/dduf' into dduf
SunMarc 1eb25dc
typing
SunMarc 0cb1b98
remove check for subfolder
SunMarc 5ec3951
quality
SunMarc 1785eaa
revert setup changes
SunMarc 7486016
oups
SunMarc 73e81a5
more readable condition
SunMarc ea0126d
add loading from the hub test
sayakpaul 3ebdcff
add basic docs.
sayakpaul 5943a60
Merge branch 'main' into dduf
sayakpaul 021abf0
Apply suggestions from code review
SunMarc af2ca07
add example
SunMarc 9d70b6c
Merge branch 'main' into dduf
sayakpaul 47cb92c
Merge remote-tracking branch 'origin/dduf' into dduf
SunMarc c9734ab
add
SunMarc 27ebf9e
make functions private
SunMarc d5dbb5c
Apply suggestions from code review
SunMarc 627aec0
resolve conflicts.
sayakpaul f0e21a9
Merge branch 'main' into dduf
sayakpaul e9b7429
minor.
sayakpaul b8b699a
fixes
sayakpaul 6003176
Merge branch 'main' into dduf
sayakpaul 0e54b06
fix
sayakpaul a026055
change the precdence of parameterized.
sayakpaul 03e30b4
Merge remote-tracking branch 'upstream/main' into dduf
SunMarc da48dcb
Merge branch 'main' into dduf
SunMarc 0fbea9a
Merge branch 'main' into dduf
sayakpaul 6a163c7
error out when custom pipeline is passed with dduf_file.
sayakpaul 67b617e
updates
sayakpaul b40272e
fix
sayakpaul ce237f3
updates
sayakpaul 454b9b9
fixes
sayakpaul 366aa2f
updates
sayakpaul 6648995
fix xfail condition.
sayakpaul 21ae7ee
fix xfail
sayakpaul 15d4569
fixes
sayakpaul f3a4ddc
sharded checkpoint compat
SunMarc a032025
Merge branch 'dduf' of github.com:huggingface/diffusers into dduf
SunMarc faa0cac
Merge branch 'main' into dduf
sayakpaul 0205cc8
add test for sharded checkpoint
SunMarc 9cda4c1
Merge branch 'dduf' of github.com:huggingface/diffusers into dduf
SunMarc cd0734e
Merge branch 'main' into dduf
sayakpaul 5037d39
add suggestions
SunMarc c9e08da
Merge branch 'dduf' of github.com:huggingface/diffusers into dduf
SunMarc 02a368b
Update src/diffusers/models/model_loading_utils.py
SunMarc 7bc9347
from suggestions
SunMarc fff5954
add class attributes to flag dduf tests
SunMarc da402da
last one
SunMarc 9ebbf84
Merge branch 'main' into dduf
sayakpaul aaaa947
Merge branch 'main' into dduf
sayakpaul 290b88d
resolve conflicts.
sayakpaul ac420af
fix logic
SunMarc f62527f
remove comment
SunMarc c34ce42
Merge remote-tracking branch 'upstream/main' into dduf
SunMarc c899fd0
revert changes
SunMarc bb1cff8
Merge branch 'main' into dduf
sayakpaul 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 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 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 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 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 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 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.
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.
Fixed with that !
This could be more concise with :
LMK what you prefer @sayakpaul