Commit acf479b
[advanced flux training] bug fix + reduce memory cost as in huggingface#9829 (huggingface#9838)
* memory improvement as done here: huggingface#9829
* fix bug
* fix bug
* style
---------
Co-authored-by: Sayak Paul <[email protected]>1 parent 03bf77c commit acf479b
File tree
2 files changed
+17
-3
lines changed- examples
- advanced_diffusion_training
- dreambooth
2 files changed
+17
-3
lines changedLines changed: 12 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2154 | 2154 | | |
2155 | 2155 | | |
2156 | 2156 | | |
| 2157 | + | |
2157 | 2158 | | |
2158 | 2159 | | |
2159 | 2160 | | |
| |||
2168 | 2169 | | |
2169 | 2170 | | |
2170 | 2171 | | |
| 2172 | + | |
| 2173 | + | |
2171 | 2174 | | |
2172 | 2175 | | |
2173 | 2176 | | |
2174 | 2177 | | |
2175 | 2178 | | |
2176 | | - | |
| 2179 | + | |
| 2180 | + | |
| 2181 | + | |
| 2182 | + | |
2177 | 2183 | | |
2178 | 2184 | | |
2179 | 2185 | | |
2180 | 2186 | | |
2181 | | - | |
2182 | 2187 | | |
2183 | 2188 | | |
2184 | 2189 | | |
| |||
2371 | 2376 | | |
2372 | 2377 | | |
2373 | 2378 | | |
| 2379 | + | |
| 2380 | + | |
| 2381 | + | |
2374 | 2382 | | |
2375 | 2383 | | |
2376 | 2384 | | |
| |||
2448 | 2456 | | |
2449 | 2457 | | |
2450 | 2458 | | |
| 2459 | + | |
| 2460 | + | |
2451 | 2461 | | |
2452 | 2462 | | |
2453 | 2463 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1648 | 1648 | | |
1649 | 1649 | | |
1650 | 1650 | | |
| 1651 | + | |
1651 | 1652 | | |
1652 | 1653 | | |
1653 | 1654 | | |
1654 | 1655 | | |
1655 | | - | |
| 1656 | + | |
| 1657 | + | |
| 1658 | + | |
| 1659 | + | |
1656 | 1660 | | |
1657 | 1661 | | |
1658 | 1662 | | |
| |||
0 commit comments