Commit 2fada8d
[bug fix] fixes huggingface#6444 - checkpointing save issue in advanced dreambooth lora sdxl script (huggingface#6464)
* unwrap text encoder when saving hook only for full text encoder tuning
* unwrap text encoder when saving hook only for full text encoder tuning
* save embeddings in each checkpoint as well
* save embeddings in each checkpoint as well
* save embeddings in each checkpoint as well
* Update examples/advanced_diffusion_training/train_dreambooth_lora_sdxl_advanced.py
Co-authored-by: Sayak Paul <[email protected]>
---------
Co-authored-by: Sayak Paul <[email protected]>1 parent f2d51a2 commit 2fada8d
File tree
1 file changed
+10
-6
lines changed- examples/advanced_diffusion_training
1 file changed
+10
-6
lines changedLines changed: 10 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1316 | 1316 | | |
1317 | 1317 | | |
1318 | 1318 | | |
1319 | | - | |
1320 | | - | |
1321 | | - | |
| 1319 | + | |
| 1320 | + | |
| 1321 | + | |
| 1322 | + | |
1322 | 1323 | | |
1323 | | - | |
1324 | | - | |
1325 | | - | |
| 1324 | + | |
| 1325 | + | |
| 1326 | + | |
| 1327 | + | |
1326 | 1328 | | |
1327 | 1329 | | |
1328 | 1330 | | |
| |||
1335 | 1337 | | |
1336 | 1338 | | |
1337 | 1339 | | |
| 1340 | + | |
| 1341 | + | |
1338 | 1342 | | |
1339 | 1343 | | |
1340 | 1344 | | |
| |||
0 commit comments