-
Notifications
You must be signed in to change notification settings - Fork 446
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
Update/Fix Pipeline Mixins and ORT Pipelines #2021
Open
IlyasMoutawwakil
wants to merge
66
commits into
main
Choose a base branch
from
update-diffusers-mixins
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
66 commits
Select commit
Hold shift + click to select a range
fcb1690
created auto task mappings
IlyasMoutawwakil 1cbb544
added correct auto classes
IlyasMoutawwakil cdba70e
created auto task mappings
IlyasMoutawwakil 5bebbd5
added correct auto classes
IlyasMoutawwakil 862e1a4
Merge branch 'auto-diffusion-pipeline' of https://github.com/huggingf…
IlyasMoutawwakil 40b2ac0
added ort/auto diffusion classes
IlyasMoutawwakil 29bfe57
fix ORTPipeline detection
IlyasMoutawwakil f6df38c
start test refactoring
IlyasMoutawwakil 3123ea5
dynamic dtype
IlyasMoutawwakil 7803ef3
support torch random numbers generator
IlyasMoutawwakil aa41f42
compact diffusion testing suite
IlyasMoutawwakil 4837828
fix
IlyasMoutawwakil 7504aa3
Merge branch 'main' into auto-diffusion-pipeline
IlyasMoutawwakil 80532b3
test
IlyasMoutawwakil f99a058
test
IlyasMoutawwakil 781ede7
test
IlyasMoutawwakil f0e3f2b
use latent-consistency architecture name instead of lcm
IlyasMoutawwakil 80c63d0
fix
IlyasMoutawwakil a4518f2
add ort diffusion pipeline tests
IlyasMoutawwakil 9f0c7b6
added dummy objects
IlyasMoutawwakil 56d06d4
remove duplicate code
IlyasMoutawwakil 7bfe4a5
update stable diffusion mixin
IlyasMoutawwakil 27c29a8
update latent consistency
IlyasMoutawwakil a2e5423
update sd for img2img
IlyasMoutawwakil fdac134
update latent consistency
IlyasMoutawwakil 5023cac
update model parts to use frozen dict
IlyasMoutawwakil 2cd616e
update tests and utils
IlyasMoutawwakil dceccca
updated all mixins, enabled all tests ; all are passing except some r…
IlyasMoutawwakil b4e4f41
fix sd xl hidden states
IlyasMoutawwakil 8e35c11
style
IlyasMoutawwakil 475efdf
support testing without diffusers
IlyasMoutawwakil e2ad89a
remove unnecessary
IlyasMoutawwakil 836a7e2
Merge branch 'auto-diffusion-pipeline' into update-diffusers-mixins
IlyasMoutawwakil 7b4b5bd
revert
IlyasMoutawwakil 390d65d
Merge branch 'main' into auto-diffusion-pipeline
IlyasMoutawwakil 6f404dd
Merge branch 'auto-diffusion-pipeline' into update-diffusers-mixins
IlyasMoutawwakil 7a8396c
export vae encoder by returning its latent distribution parameters
IlyasMoutawwakil 8458705
fix the modeling to handle distributions
IlyasMoutawwakil 76e7f01
create vae class to minimize changes in pipeline mixins
IlyasMoutawwakil 24ee099
remove unnecessary tests
IlyasMoutawwakil 83f2dcc
style
IlyasMoutawwakil 036dc46
style
IlyasMoutawwakil c1a75c4
update diffusion models export test
IlyasMoutawwakil 48f1329
style
IlyasMoutawwakil 5a674f3
Merge branch 'auto-diffusion-pipeline' into update-diffusers-mixins
IlyasMoutawwakil 5814a34
fall back for when block_out_channels is not in vae config
IlyasMoutawwakil afbb9af
remove model parts from optimum.onnxruntime
IlyasMoutawwakil 53eedc6
added .to to model parts
IlyasMoutawwakil a706204
remove custom mixins
IlyasMoutawwakil 002ed68
style
IlyasMoutawwakil 70e4577
Update optimum/exporters/onnx/model_configs.py
IlyasMoutawwakil 381977c
Update optimum/exporters/onnx/model_configs.py
IlyasMoutawwakil 75585be
Merge branch 'auto-diffusion-pipeline' into update-diffusers-mixins
IlyasMoutawwakil 5505a19
Merge branch 'update-diffusers-mixins' of https://github.com/huggingf…
IlyasMoutawwakil 9de3f71
conversion to numpy always work
IlyasMoutawwakil b2274a1
test adding two new pipelines
IlyasMoutawwakil 79cd9ac
remove duplicated tests
IlyasMoutawwakil 0869f1c
Merge branch 'main' into update-diffusers-mixins
IlyasMoutawwakil b70b641
match diffusers numpy input
IlyasMoutawwakil 7f77b1c
simplify model saving
IlyasMoutawwakil 4933c7c
extend tests and only translate generators
IlyasMoutawwakil 7d50df3
cleanup
IlyasMoutawwakil cce0ee8
reduce parent model usage in model parts
IlyasMoutawwakil 86c2b7e
fix
IlyasMoutawwakil 5a443ac
new tiny onnx diffusion model with configs
IlyasMoutawwakil 15c94bc
model_save_path
IlyasMoutawwakil 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
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.
this will result in a breaking change so would keep it if possible
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.
but it will be wrong because we don't sample the latent distribution anymore