diffusers
Add Consistency Models Pipeline
#3492
Merged
Go
Login via GitHub
Home
Pricing
FAQ
Install
Login
via GitHub
Overview
Commits
79
Changes
View On
GitHub
Add Consistency Models Pipeline
#3492
patrickvonplaten
merged 79 commits into
huggingface:main
from
dg845:consistency-models-pipeline
initial commit
799ab237
Improve consistency models sampling implementation.
63b7f01b
Add CMStochasticIterativeScheduler, which implements the multi-step s…
f2e53da3
dg845
changed the title
Consistency models pipeline
[WIP] Add Consistency models pipeline
2 years ago
dg845
changed the title
[WIP] Add Consistency models pipeline
[WIP] Add Consistency Models Pipeline
2 years ago
Merge branch 'main2' into consistency_unet
37e1895b
Add Unet blocks for consistency models
7c1e81f8
Add conversion script for Unet
3a151bd1
Fix bug in new unet blocks
b6c5e15b
Fix attention weight loading
4e93f09f
Merge pull request #1 from ayushtues/consistency_unet
d137d11b
Make design improvements to ConsistencyModelPipeline and CMStochastic…
9ae7669f
make style
54b287e7
Make small random test UNet class conditional and set resnet_time_sca…
5a27c2f4
Add support for converting a test UNet and non-class-conditional UNet…
f2783a87
make style
ed53b859
Change num_class_embeds to 1000 to better match the original consiste…
a505c6cc
Add support for distillation in pipeline_consistency_models.py.
a927a4af
Improve consistency model tests:
b2e64243
make style
c37e302d
Improve ConsistencyModelPipeline:
a0a164cf
make style
0d1de089
Improve ConsistencyModelPipeline:
5f4f4064
make style
213b25de
Fix bug when randomly generating class labels for class-conditional g…
fbe34c3f
Switch CMStochasticIterativeScheduler to configuring a sigma schedule…
0e53d8bb
Remove some unused code and make style.
c3b242ed
Fix small bug in CMStochasticIterativeScheduler.
43e43792
Add expected slices for multistep sampling tests and make them pass.
94c99ca4
Work on consistency model fast tests:
0773b271
make style
6867a3ad
Refactor conversion script to make it easier to add more model archit…
f0c85d3e
Work on ConsistencyModelPipeline tests:
6adb5892
make style
c213bf7e
Remove the add_noise and add_noise_to_input methods from CMStochastic…
3be6e086
Run python utils/check_copies.py --fix_and_overwrite
660909f8
Make fast tests from PipelineTesterMixin pass.
ad5abdc0
make style
a1c11d30
williamberman
commented on 2023-06-05
Refactor consistency models pipeline and scheduler:
2dc2fa31
make style
7d3dbe3d
Add docstrings and further refactor pipeline and scheduler.
55f80ed9
make style
3234543f
Add initial version of the consistency models documentation.
dc4349ca
williamberman
commented on 2023-06-09
williamberman
commented on 2023-06-09
williamberman
commented on 2023-06-09
Refactor custom timesteps logic following DDPMScheduler/IFPipeline an…
85eb7961
make style
bf3a4056
Convert current slow tests to use fp16 and flash attention.
fd0a2535
make style
7c03ff6d
Add slow tests for normal attention on cuda device.
80d77452
make style
0662f63f
Fix attention weights loading
cce04c09
Merge pull request #3 from ayushtues/fix-attention-loading
c1ba8b92
Update consistency model fast tests for new test checkpoints with att…
62a49a2f
make style
58f12cad
williamberman
commented on 2023-06-15
williamberman
commented on 2023-06-15
williamberman
commented on 2023-06-15
williamberman
commented on 2023-06-15
williamberman
commented on 2023-06-15
williamberman
commented on 2023-06-15
williamberman
commented on 2023-06-15
apply suggestions
071f8506
Add add_noise method to CMStochasticIterativeScheduler (copied from E…
69686154
Conversion script now outputs pipeline instead of UNet and add suppor…
ca15734d
When both timesteps and num_inference_steps are supplied, raise warni…
a56d3d28
make style
a17847ee
Add remaining diffusers model checkpoints for models in the original …
8214a33e
patrickvonplaten
commented on 2023-06-28
patrickvonplaten
commented on 2023-06-28
patrickvonplaten
commented on 2023-06-28
patrickvonplaten
commented on 2023-06-28
patrickvonplaten
commented on 2023-06-28
patrickvonplaten
commented on 2023-06-28
patrickvonplaten
commented on 2023-06-28
patrickvonplaten
commented on 2023-06-28
patrickvonplaten
commented on 2023-06-28
patrickvonplaten
commented on 2023-06-28
patrickvonplaten
commented on 2023-06-28
patrickvonplaten
commented on 2023-06-28
patrickvonplaten
commented on 2023-06-28
patrickvonplaten
commented on 2023-06-28
apply suggestions from review
2606d82e
make style
075351ad
patrickvonplaten
commented on 2023-06-29
Merge branch 'main' into consistency-models-pipeline
89764711
fix attention naming
64860490
Add tests for CMStochasticIterativeScheduler.
cf514b37
make style
b5c2b233
Make CMStochasticIterativeScheduler tests pass.
60b05271
make style
7670cd8b
Override test_step_shape in CMStochasticIterativeSchedulerTest instea…
cb48162c
make style
ee9f8bfc
sayakpaul
commented on 2023-07-05
sayakpaul
commented on 2023-07-05
sayakpaul
commented on 2023-07-05
rename some models
2fc7f2c5
Improve API
e14189c5
rename some models
9f627ed9
Remove duplicated block
3febb18f
Add docstring and make torch compile work
d430fab8
Merge branch 'main' into consistency-models-pipeline
44d2c223
More fixes
f7675d39
Fixes
c66b7022
patrickvonplaten
changed the title
[WIP] Add Consistency Models Pipeline
Add Consistency Models Pipeline
2 years ago
patrickvonplaten
commented on 2023-07-05
patrickvonplaten
commented on 2023-07-05
Apply suggestions from code review
66f1603b
patrickvonplaten
commented on 2023-07-05
patrickvonplaten
commented on 2023-07-05
Apply suggestions from code review
033fbe67
add more docstring
fd67410b
patrickvonplaten
commented on 2023-07-05
patrickvonplaten
approved these changes on 2023-07-05
update consistency conversion script
541dd842
williamberman
commented on 2023-07-05
williamberman
approved these changes on 2023-07-05
patrickvonplaten
merged
aed7499a
into main
2 years ago
Login to write a write a comment.
Login via GitHub
Reviewers
patrickvonplaten
williamberman
sayakpaul
Assignees
No one assigned
Labels
None yet
Milestone
No milestone
Login to write a write a comment.
Login via GitHub