Skip to content

Releases: bmaltais/kohya_ss

v24.0.7

25 Apr 23:58
b826d61
Compare
Choose a tag to compare

A new docker container is now built with every new release, eliminating the need for manual building. A big thank you to @jim60105 for his hard work in this area. You can find more information about it in the Docker section of the README.

What's Changed

  • Fix [24.0.6] Train toml config seed type error #2370

Full Changelog: v24.0.6...v24.0.7

v24.0.6

21 Apr 02:40
80091ee
Compare
Choose a tag to compare

What's Changed

  • Make Start/Stop buttons visible in headless by @bmaltais in #2356
  • Fixing configs/ presets to show use_wandb->log_with by @ccharest93 in #2355
  • Fix issue with lora_network_weights not being loaded by @bmaltais in #2357
  • Add validation of lr scheduler and optimizer arguments by @bmaltais in #2358

Full Changelog: v24.0.5...v24.0.6

v24.0.5

20 Apr 01:32
5cec4c6
Compare
Choose a tag to compare

What's Changed

  • Hide tensorboard button if tensorflow module is not installed by @bmaltais in #2347
  • wd14 captioning issue with undesired tags nor tag replacement by @bmaltais in #2350
  • Changed logger checkbox to dropdown, renamed use_wandb -> log_with by @ccharest93 in #2352

New Contributors

Full Changelog: v24.0.4...v24.0.5

v24.0.4

19 Apr 02:25
6c69b89
Compare
Choose a tag to compare

What's Changed

  • Fix options.md heading by @bmaltais in #2337
  • Use correct file extensions when browsing for model file by @b-fission in #2323
  • Add argument for Gradio's root_path to enable reverse proxy support by @hlky in #2333
  • 2325 quotes wrapping python path cause subprocess cant find target in v2403 by @bmaltais in #2338
  • 2330 another seemingly new data validation leads to unusable configs 2403 by @bmaltais in #2339
  • Fix bad Lora parameters by @bmaltais in #2341

New Contributors

Full Changelog: v24.0.3...v24.0.4

v24.0.3

18 Apr 00:28
05cf164
Compare
Choose a tag to compare

What's Changed

  • Fix issue with sample prompt creation
  • Fix issues with utilities
  • Various other code improvements

Full Changelog: v24.0.2...v24.0.3

v24.0.2

17 Apr 17:29
463a860
Compare
Choose a tag to compare

Fix issue with clip_skip not being passed as an int when loading old config files.

v24.0.1

17 Apr 11:33
Compare
Choose a tag to compare

2024/04/17 (v24.0.1)

Enhancements

  • User Interface: Transitioned the GUI to use a TOML file for argument passing to sd-scripts, significantly enhancing security by eliminating the need for command-line interface (CLI) use for sensitive data.
  • Training Tools: Improved the training and TensorBoard buttons to provide a more intuitive user experience.
  • HuggingFace Integration: Integrated a HuggingFace section in all trainer tabs, enabling authentication and use of HuggingFace's advanced AI models.
  • Gradio Upgrade: Upgraded Gradio to version 4.20.0 to fix a previously identified bug impacting the runpod platform.
  • Metadata Support: Added functionality for metadata capture within the GUI.

Security and Stability

  • Code Refactoring: Extensively rewrote the code to address various security vulnerabilities, including removing the shell=True parameter from process calls.
  • Scheduler Update: Disabled LR Warmup when using the Constant LR Scheduler to prevent traceback errors associated with sd-scripts.

Shell Execution

  • Conditional Shell Usage: Added support for optional shell usage when executing external sd-scripts commands, tailored to meet specific platform needs and recent security updates.

The gui.bat and gui.sh scripts now include the --do_not_use_shell argument to prevent shell execution (shell=True) during external process handling. Unix-like systems automatically set use_shell to True internally, as required for proper execution of external commands. To enforce disabling shell execution, use the --do_not_use_shell argument.

  • How to Enable Shell Execution via Config File:
    1. In the config.toml file, set use_shell to true to enable shell usage as per GUI startup settings.
      Note: The --do_not_use_shell option will override the config.toml settings, setting use_shell to False even if it is set to True in the config file.

Miscellaneous

  • Made various other minor improvements and bug fixes to enhance overall functionality and user experience.

What's Changed

Full Changelog: v22.1.5...v24.0.0

v23.1.5

12 Apr 20:20
05c6644
Compare
Choose a tag to compare
v23.1.5 Pre-release
Pre-release

What's Changed

Security Improvements

  • Add explicit --do_not_share parameter to kohya_gui.py to avoid sharing the GUI on platforms like Kaggle.
  • Remove shell=True from subprocess calls to avoid security issues when using the GUI.
  • Limit caption extensions to a fixed set of extensions to limit the risk of finding and replacing text content in unexpected files.

Other changes

Full Changelog: v23.1.3...v22.1.5

v23.1.3

09 Apr 18:51
953df34
Compare
Choose a tag to compare

What's Changed

Full Changelog: v23.1.2...v23.1.3

v23.1.2

08 Apr 11:20
aa9fcf3
Compare
Choose a tag to compare

What's Changed

Full Changelog: v23.1.1...v23.1.2