v22.6.2
版本发布时间: 2024-02-24 23:45:01
bmaltais/kohya_ss最新发布版本:v24.1.7(2024-09-06 19:03:10)
- 2024/02/24 (v22.6.2)
- Fix issue with Lora Extract GUI
- Fix syntax issue where parameter lora_network_weights is actually called network_weights
- Merge sd-scripts v0.8.4 code update
- Fixed a bug that the VRAM usage without Text Encoder training is larger than before in training scripts for LoRA etc (
train_network.py
,sdxl_train_network.py
).- Text Encoders were not moved to CPU.
- Fixed typos. Thanks to akx! PR #1053
- The log output has been improved. PR #905 Thanks to shirayu!
- The log is formatted by default. The
rich
library is required. Please see Upgrade and update the library. - If
rich
is not installed, the log output will be the same as before. - The following options are available in each training script:
-
--console_log_simple
option can be used to switch to the previous log output. -
--console_log_level
option can be used to specify the log level. The default isINFO
. -
--console_log_file
option can be used to output the log to a file. The default isNone
(output to the console).
- The log is formatted by default. The
- The sample image generation during multi-GPU training is now done with multiple GPUs. PR #1061 Thanks to DKnight54!
- The support for mps devices is improved. PR #1054 Thanks to akx! If mps device exists instead of CUDA, the mps device is used automatically.
- The
--new_conv_rank
option to specify the new rank of Conv2d is added tonetworks/resize_lora.py
. PR #1102 Thanks to mgz-dev! - An option
--highvram
to disable the optimization for environments with little VRAM is added to the training scripts. If you specify it when there is enough VRAM, the operation will be faster.- Currently, only the cache part of latents is optimized.
- The IPEX support is improved. PR #1086 Thanks to Disty0!
- Fixed a bug that
svd_merge_lora.py
crashes in some cases. PR #1087 Thanks to mgz-dev! - DyLoRA is fixed to work with SDXL. PR #1126 Thanks to tamlog06!
- The common image generation script
gen_img.py
for SD 1/2 and SDXL is added. The basic functions are the same as the scripts for SD 1/2 and SDXL, but some new features are added.- External scripts to generate prompts can be supported. It can be called with
--from_module
option. (The documentation will be added later) - The normalization method after prompt weighting can be specified with
--emb_normalize_mode
option.original
is the original method,abs
is the normalization with the average of the absolute values,none
is no normalization.
- External scripts to generate prompts can be supported. It can be called with
- Gradual Latent Hires fix is added to each generation script. See here for details.
- Fixed a bug that the VRAM usage without Text Encoder training is larger than before in training scripts for LoRA etc (
What's Changed
- Fix Lora Extract GUI issue by @bmaltais in https://github.com/bmaltais/kohya_ss/pull/1975
- Update options.md by @mikeboensel in https://github.com/bmaltais/kohya_ss/pull/1978
- Update options.md by @mikeboensel in https://github.com/bmaltais/kohya_ss/pull/1979
- Update options.md by @mikeboensel in https://github.com/bmaltais/kohya_ss/pull/1980
- Optimize the Dockerfile to reduce the size of the image. (50.76 GB to 19.04 GB) by @jim60105 in https://github.com/bmaltais/kohya_ss/pull/1976
- Label clarifications by @mikeboensel in https://github.com/bmaltais/kohya_ss/pull/1981
- v22.6.2 by @bmaltais in https://github.com/bmaltais/kohya_ss/pull/1995
New Contributors
- @mikeboensel made their first contribution in https://github.com/bmaltais/kohya_ss/pull/1978
Full Changelog: https://github.com/bmaltais/kohya_ss/compare/v22.6.1...v22.6.2