Releases: bmaltais/kohya_ss
v24.0.7
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
- Fix issue with verify lora tool by @bmaltais in #2362
- Prevent tkinter import crash by @bmaltais in #2385
- Fix [24.0.6] Train toml config seed type error #2370 by @bmaltais in #2387
- chore(docker): Decouple Tensorboard from the project and add CI build workflow. by @jim60105 in #2344
Full Changelog: v24.0.6...v24.0.7
v24.0.6
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
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
- @ccharest93 made their first contribution in #2352
Full Changelog: v24.0.4...v24.0.5
v24.0.4
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
- @b-fission made their first contribution in #2323
- @hlky made their first contribution in #2333
Full Changelog: v24.0.3...v24.0.4
v24.0.3
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
v24.0.1
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:
- In the
config.toml
file, setuse_shell
totrue
to enable shell usage as per GUI startup settings.
Note: The--do_not_use_shell
option will override theconfig.toml
settings, settinguse_shell
to False even if it is set to True in the config file.
- In the
Miscellaneous
- Made various other minor improvements and bug fixes to enhance overall functionality and user experience.
What's Changed
- Improve training and tensorboard buttons and code by @bmaltais in #2268
- Revert "Improve training and tensorboard buttons and code" by @bmaltais in #2269
- Improve training and tensorboard buttons and code by @bmaltais in #2270
- Fix accelerate issue on linux by @bmaltais in #2281
- Implement LR Warmup disabling when constant scheduler is used by @bmaltais in #2292
- Add support for metadata parameters by @bmaltais in #2295
- Implement use_shell as parameter by @bmaltais in #2297
- Improve process execution under Linux (and windows) by @bmaltais in #2301
Full Changelog: v22.1.5...v24.0.0
v23.1.5
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
- Relocate config file accordion by @bmaltais in #2241
- Dev by @bmaltais in #2242
- Gradio 4 by @bmaltais in #2250
- Merge master to dev by @bmaltais in #2251
- Remove shell=True from scripts by @bmaltais in #2257
- Find replace by @bmaltais in #2258
- Restrict extensions pre_postfix can use to improve security by @bmaltais in #2259
Full Changelog: v23.1.3...v22.1.5