Commit Graph

77 Commits (d8a51f34fd15dc4fbbe4e8416cd3270f23818c09)

Author SHA1 Message Date
bmaltais 433fabf7d8 Fix [24.0.6] Train toml config seed type error #2370 2024-04-25 13:10:55 -04:00
bmaltais 214f7199a3 Fix issue with verify lora tool 2024-04-21 08:29:00 -04:00
bmaltais 8234e52ded
Add validation of lr scheduler and optimizer arguments (#2358) 2024-04-20 15:53:11 -04:00
bmaltais 58e57a3365
Fix issue with lora_network_weights not being loaded (#2357) 2024-04-20 15:05:35 -04:00
bmaltais 4923f5647c
Make Start/Stop buttons visible in headless (#2356) 2024-04-20 14:27:19 -04:00
Maatra 25d7c6889f
Changed logger checkbox to dropdown, renamed use_wandb -> log_with (#2352) 2024-04-19 13:14:15 -04:00
bmaltais 4c5f4dfd27 update file read and write to utf-8 2024-04-19 10:50:43 -04:00
bmaltais 4df07c4a73 Write toml as UTF-8 2024-04-18 22:34:06 -04:00
bmaltais 98d826c5ec
Fix bad Lora parameters (#2341) 2024-04-18 22:21:22 -04:00
bmaltais b4f1589f18
2330 another seemingly new data validation leads to unusable configs 2403 (#2339)
* Fix issue with None values staying as 0 in toml config file

* Fix noise_offset issues (and possibly other issues)
2024-04-18 21:47:00 -04:00
bmaltais 84fb7ce8c9 Update utility paths and print toml file when clicking the Print training command button 2024-04-17 19:54:56 -04:00
bmaltais 962fc681cc Fix issue with sample prompt creation 2024-04-17 17:45:59 -04:00
bmaltais 1898851aa6 Fix bad merge 2024-04-17 07:32:41 -04:00
bmaltais aa4d13fc93 Merge branch 'master' of https://github.com/bmaltais/kohya_ss into dev 2024-04-17 07:20:50 -04:00
bmaltais 43087f7b3d Update training info display 2024-04-17 07:11:40 -04:00
bmaltais 8bda4f203c Align toml file content to sd-scripts defaults 2024-04-16 21:17:53 -04:00
bmaltais 13b836ad76 Fix issues with steps calculations 2024-04-16 14:52:20 -04:00
bmaltais 9037fd0373
Improve process execution under Linux (and windows) (#2301)
* Update how process is executed

* Auto config use_shell=True on posix systems
2024-04-16 07:53:44 -04:00
bmaltais e6a8dec98d
Implement use_shell as parameter (#2297) 2024-04-15 20:26:09 -04:00
bmaltais a22d4622cd
Add support for metadata parameters (#2295) 2024-04-15 13:26:39 -04:00
bmaltais a8320e3f2c Add support for accelerate dynamo parameters 2024-04-15 10:31:05 -04:00
bmaltais b9eefb2370 Cleanup old commented code 2024-04-15 09:16:47 -04:00
bmaltais c4e0655a7a Fix accelerate path for linux systems 2024-04-15 08:50:48 -04:00
bmaltais 18ef5305d2 Make gradient_accumulation_steps an int 2024-04-15 08:10:24 -04:00
bmaltais a08c7c6ef1 Update parameters handling 2024-04-14 19:10:26 -04:00
bmaltais e98fc40a63
- Implement HuggingFace inputs in all training tabs (#2287)
- Switch to sd-scripts configuration files to pass most of the parameters in a secure way.
2024-04-14 18:43:45 -04:00
bmaltais d3ba1110ef Merge branch 'fix_accelerate_issue' into dev 2024-04-13 21:14:31 -04:00
bmaltais fddac3362e Make Stop training diseapear when training is done 2024-04-13 21:10:31 -04:00
bmaltais a093b783bc
Fix accelerate issue on linux (#2281)
* Fix issue discovered after removing shell=True. This is a significant rewrite... but will make things better for the future.
2024-04-13 16:52:27 -04:00
Bernard Maltais 72cd84b7f7 Simplify things 2024-04-13 16:05:31 -04:00
Bernard Maltais 835b6505c0 Fix running on linux 2024-04-13 14:03:55 -04:00
bmaltais 083c04b20b Fix repo paths with spaces 2024-04-13 10:55:21 -04:00
bmaltais 79a78246a2 Rewrite run_cmd to list 2024-04-13 10:42:14 -04:00
bmaltais fef3dd2d12 Quick fix for other trainers 2024-04-13 08:43:57 -04:00
bmaltais 46cf4ed53a
Revert "Improve training and tensorboard buttons and code" 2024-04-12 20:29:51 -04:00
bmaltais 4aa02c8aa3 Improve training and tensorboard buttons and code 2024-04-12 20:26:35 -04:00
bmaltais 8633484a5a Fix bugs, improve layout logic 2024-04-11 07:33:23 -04:00
bmaltais fd8bfa8a39 Upgrade Gradio release 2024-04-10 20:48:12 -04:00
bmaltais 19ca9782c4 Relocate preset dropdown 2024-04-09 20:38:19 -04:00
bmaltais 97d3102312 Relocate config file accordion 2024-04-09 18:36:21 -04:00
bmaltais 572dcd10ab Add Huber loss support 2024-04-07 10:35:07 -04:00
bmaltais b452f4ce6a
Merge branch 'master' into dev 2024-04-07 08:40:44 -04:00
bmaltais e9c53d114a Add remaining values to config.toml 2024-04-04 19:03:34 -04:00
bmaltais 5bd439f3d0 Add basic section to config example.toml 2024-04-03 22:46:44 -04:00
bmaltais ef1dcafbfe Fix warning messages 2024-04-03 20:20:59 -04:00
bmaltais 49f76343b5 Format with black 2024-04-03 18:32:25 -04:00
bmaltais c78c1ab4fe
Add new field for extra accelerate launch arguments (#2200) 2024-04-02 20:56:59 -04:00
bmaltais 17186c2565
Add config.toml defaults for dataset preparation section (#2199) 2024-04-02 18:29:39 -04:00
bmaltais b3a78febd1
Move Accelerate launch to own accordion (#2192)
* Move accelerate launch parameters to own accordion
2024-04-01 16:07:34 -04:00
dependabot[bot] 7251cb8757
Bump crate-ci/typos from 1.18.2 to 1.19.0 (#2189)
* Update zh-TW and fixed Lycoris Merge, additional_parameters priority modify. (#2182)

* Update localizations for zh-TW

* Fixed merge_lycoris_gui issue

* Move additional_parameters to the very last of the run_cmd which can override the arguments.

* Bump crate-ci/typos from 1.18.2 to 1.19.0

Bumps [crate-ci/typos](https://github.com/crate-ci/typos) from 1.18.2 to 1.19.0.
- [Release notes](https://github.com/crate-ci/typos/releases)
- [Changelog](https://github.com/crate-ci/typos/blob/master/CHANGELOG.md)
- [Commits](https://github.com/crate-ci/typos/compare/v1.18.2...v1.19.0)

---
updated-dependencies:
- dependency-name: crate-ci/typos
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: bmaltais <bernard@ducourier.com>
Co-authored-by: Hina Chen <hinablue@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-01 11:20:45 -04:00