Commit 07eac4d
authored
Fix LCM Stable Diffusion distillation bug related to parsing unet_time_cond_proj_dim (huggingface#5893)
* Fix bug related to parsing unet_time_cond_proj_dim.
* Fix analogous bug in the SD-XL LCM distillation script.1 parent c079cae commit 07eac4d
File tree
2 files changed
+22
-3
lines changed- examples/consistency_distillation
2 files changed
+22
-3
lines changedLines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
657 | 657 | | |
658 | 658 | | |
659 | 659 | | |
| 660 | + | |
| 661 | + | |
| 662 | + | |
| 663 | + | |
| 664 | + | |
| 665 | + | |
| 666 | + | |
| 667 | + | |
| 668 | + | |
660 | 669 | | |
661 | 670 | | |
662 | 671 | | |
| |||
1138 | 1147 | | |
1139 | 1148 | | |
1140 | 1149 | | |
1141 | | - | |
| 1150 | + | |
1142 | 1151 | | |
1143 | 1152 | | |
1144 | 1153 | | |
| |||
Lines changed: 12 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
677 | 677 | | |
678 | 678 | | |
679 | 679 | | |
| 680 | + | |
| 681 | + | |
| 682 | + | |
| 683 | + | |
| 684 | + | |
| 685 | + | |
| 686 | + | |
| 687 | + | |
| 688 | + | |
680 | 689 | | |
681 | 690 | | |
682 | 691 | | |
| |||
1233 | 1242 | | |
1234 | 1243 | | |
1235 | 1244 | | |
| 1245 | + | |
1236 | 1246 | | |
1237 | 1247 | | |
1238 | 1248 | | |
| |||
1243 | 1253 | | |
1244 | 1254 | | |
1245 | 1255 | | |
1246 | | - | |
| 1256 | + | |
1247 | 1257 | | |
1248 | 1258 | | |
1249 | 1259 | | |
| |||
1308 | 1318 | | |
1309 | 1319 | | |
1310 | 1320 | | |
1311 | | - | |
| 1321 | + | |
1312 | 1322 | | |
1313 | 1323 | | |
1314 | 1324 | | |
| |||
0 commit comments