Commit b863bdd
authored
Modular Diffusers Guiders (#11311)
* cfg; slg; pag; sdxl without controlnet
* support sdxl controlnet
* support controlnet union
* update
* update
* cfg zero*
* use unwrap_module for torch compiled modules
* remove guider kwargs
* remove commented code
* remove old guider
* fix slg bug
* remove debug print
* autoguidance
* smoothed energy guidance
* add note about seg
* tangential cfg
* cfg plus plus
* support cfgpp in ddim
* apply review suggestions
* refactor
* rename enable/disable
* remove cfg++ for now
* rename do_classifier_free_guidance->prepare_unconditional_embeds
* remove unused1 parent d143851 commit b863bdd
File tree
19 files changed
+2458
-1075
lines changed- src/diffusers
- guiders
- hooks
- pipelines/stable_diffusion_xl
- utils
19 files changed
+2458
-1075
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
| |||
129 | 130 | | |
130 | 131 | | |
131 | 132 | | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
132 | 144 | | |
133 | 145 | | |
134 | 146 | | |
135 | 147 | | |
136 | 148 | | |
| 149 | + | |
| 150 | + | |
137 | 151 | | |
| 152 | + | |
138 | 153 | | |
139 | 154 | | |
140 | 155 | | |
| |||
711 | 726 | | |
712 | 727 | | |
713 | 728 | | |
| 729 | + | |
| 730 | + | |
| 731 | + | |
| 732 | + | |
| 733 | + | |
| 734 | + | |
| 735 | + | |
| 736 | + | |
| 737 | + | |
714 | 738 | | |
715 | 739 | | |
716 | 740 | | |
| 741 | + | |
717 | 742 | | |
| 743 | + | |
| 744 | + | |
718 | 745 | | |
719 | 746 | | |
720 | 747 | | |
| |||
0 commit comments