This repository has been archived by the owner on May 14, 2024. It is now read-only.
Releases: Linaqruf/kohya-trainer
Releases · Linaqruf/kohya-trainer
xformers-0.0.16 for colab T4
xformers-0.0.16 build with Colab T4
v9
v9 (17/12):
- Added the
save_model_as
option tofine_tune.py
, which allows you to save the model in any format. - Added the
keep_tokens
option tofine_tune.py
, which allows you to fix the first n tokens of the caption and not shuffle them. - Added support for left-right flipping augmentation in
prepare_buckets_latents.py
andfine_tune.py
with theflip_aug
option.
v8
v7
v7 (7/12):
- Requires Diffusers 0.10.2 (0.10.0 or later will work, but there are reported issues with 0.10.0 so we recommend using 0.10.2). To update, run
pip install -U diffusers[torch]==0.10.2
in your virtual environment. - Added support for Diffusers 0.10 (uses code in Diffusers for
v-parameterization
training and also supportssafetensors
). - Added support for accelerate 0.15.0.
- Added support for multiple teacher data folders. For caption and tag preprocessing, use the
--full_path
option. The arguments for the cleaning script have also changed, see "Caption and Tag Preprocessing" for details.
v6
v5
Changes 12/5
- Added support for the .safetensors format. Install safetensors with
pip install safetensors
and specify theuse_safetensors
option when saving. - Added the
log_prefix
option. - The cleaning script can now be used even when one of the captions or tags is missing.
v4
Changes 11/29
- Requires Diffusers 0.9.0. To update it, run
pip install -U diffusers[torch]==0.9.0
. - Supports Stable Diffusion v2.0. Use the
--v2
option when training (and when pre-acquiring latents). If you are using 768-v-ema.ckpt or stable-diffusion-2 instead of stable-diffusion-v2-base, also use the--v_parameterization
option when training. - Added options to specify the minimum and maximum resolutions of the bucket when pre-acquiring latents.
- Modified the loss calculation formula.
- Added options for the learning rate scheduler.
- Added support for downloading Diffusers models directly from Hugging Face and for saving during training.
- clean_captions_and_tags.py can now be used even when only one of the captions or tags is missing.
- Minor fixes.
v3
Changes 11/23
- Added a tagging script using WD14Tagger.
- Added --logging-dir=logs option to fine_tune.py.
- Fixed a bug that caused data to be shuffled twice.
- Corrected spelling mistakes in the options for each script.
e.g. caption_extention -> caption_extension
Note
- The old spelling of the options will continue to work for the time being.