You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Final implementation
* Skip the final 1 step
* fix alpha mask without disk cache closeskohya-ss#1351, ref kohya-ss#1339
* update for corner cases
* Bump crate-ci/typos from 1.19.0 to 1.21.0, fix typos, and updated _typos.toml (Closekohya-ss#1307)
* set static graph flag when DDP ref kohya-ss#1363
* make forward/backward pathes same ref kohya-ss#1363
* update README
* add grad_hook after restore state closeskohya-ss#1344
* fix to work cache_latents/text_encoder_outputs
* show file name if error in load_image ref kohya-ss#1385
---------
Co-authored-by: Kohya S <[email protected]>
Co-authored-by: Kohya S <[email protected]>
Co-authored-by: Yuta Hayashibe <[email protected]>
Copy file name to clipboardExpand all lines: README.md
+18
Original file line number
Diff line number
Diff line change
@@ -178,6 +178,12 @@ The majority of scripts is licensed under ASL 2.0 (including codes from Diffuser
178
178
179
179
- The ControlNet training script `train_controlnet.py` for SD1.5/2.x was not working, but it has been fixed. PR [#1284](https://github.com/kohya-ss/sd-scripts/pull/1284) Thanks to sdbds!
180
180
181
+
-`train_network.py` and `sdxl_train_network.py` now restore the order/position of data loading from DataSet when resuming training. PR [#1353](https://github.com/kohya-ss/sd-scripts/pull/1353)[#1359](https://github.com/kohya-ss/sd-scripts/pull/1359) Thanks to KohakuBlueleaf!
182
+
- This resolves the issue where the order of data loading from DataSet changes when resuming training.
183
+
- Specify the `--skip_until_initial_step` option to skip data loading until the specified step. If not specified, data loading starts from the beginning of the DataSet (same as before).
184
+
- If `--resume` is specified, the step saved in the state is used.
185
+
- Specify the `--initial_step` or `--initial_epoch` option to skip data loading until the specified step or epoch. Use these options in conjunction with `--skip_until_initial_step`. These options can be used without `--resume` (use them when resuming training with `--network_weights`).
186
+
181
187
- An option `--disable_mmap_load_safetensors` is added to disable memory mapping when loading the model's .safetensors in SDXL. PR [#1266](https://github.com/kohya-ss/sd-scripts/pull/1266) Thanks to Zovjsra!
182
188
- It seems that the model file loading is faster in the WSL environment etc.
183
189
- Available in `sdxl_train.py`, `sdxl_train_network.py`, `sdxl_train_textual_inversion.py`, and `sdxl_train_control_net_lllite.py`.
@@ -235,6 +241,12 @@ https://github.com/kohya-ss/sd-scripts/pull/1290) Thanks to frodo821!
0 commit comments