Commit abbf3c1
authored
Allow fp16 attn for x4 upscaler (huggingface#3239)
* Add all files
* update
* Make sure vae is memory efficient for PT 1
* make style1 parent da2ce1a commit abbf3c1
File tree
2 files changed
+20
-4
lines changed- src/diffusers
- models
- pipelines/stable_diffusion
2 files changed
+20
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
212 | 212 | | |
213 | 213 | | |
214 | 214 | | |
| 215 | + | |
215 | 216 | | |
216 | 217 | | |
217 | 218 | | |
| |||
222 | 223 | | |
223 | 224 | | |
224 | 225 | | |
| 226 | + | |
225 | 227 | | |
226 | 228 | | |
227 | 229 | | |
228 | 230 | | |
229 | 231 | | |
230 | 232 | | |
231 | 233 | | |
| 234 | + | |
232 | 235 | | |
233 | 236 | | |
234 | 237 | | |
| |||
Lines changed: 17 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
698 | 699 | | |
699 | 700 | | |
700 | 701 | | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
| 705 | + | |
| 706 | + | |
| 707 | + | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
| 713 | + | |
701 | 714 | | |
702 | | - | |
703 | 715 | | |
704 | | - | |
| 716 | + | |
| 717 | + | |
705 | 718 | | |
706 | 719 | | |
707 | 720 | | |
| |||
710 | 723 | | |
711 | 724 | | |
712 | 725 | | |
713 | | - | |
| 726 | + | |
714 | 727 | | |
715 | 728 | | |
716 | 729 | | |
717 | | - | |
| 730 | + | |
718 | 731 | | |
719 | 732 | | |
720 | 733 | | |
| |||
0 commit comments