Commit Graph

2736 Commits (ec04263028b1beb4450cf3c4acb9c022f7ef8310)

Author SHA1 Message Date
bmaltais ec04263028 Restructure files 2024-04-03 19:36:02 -04:00
bmaltais 49f76343b5 Format with black 2024-04-03 18:32:25 -04:00
bmaltais c827268bf3 Cleanup old files and code 2024-04-03 18:17:59 -04:00
bmaltais 94c6711c0a Update to latest sd-scripts dev branch ommit 2024-04-03 17:46:45 -04:00
bmaltais 8bf7d327ac Add support for --config parameter to kohya_gui.py 2024-04-03 17:44:11 -04:00
bmaltais c78c1ab4fe
Add new field for extra accelerate launch arguments (#2200) 2024-04-02 20:56:59 -04:00
bmaltais 0a8395ddfe Move debiased estimation loss and v_pred like noise 2024-04-02 20:21:45 -04:00
bmaltais 17186c2565
Add config.toml defaults for dataset preparation section (#2199) 2024-04-02 18:29:39 -04:00
bmaltais d4e23f96e5 Update accelerate launch parameters 2024-04-02 12:55:11 -04:00
bmaltais ce1369d47b
Add support for Debiased Estimation loss to dreambooth (#2194) 2024-04-01 20:05:26 -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
bmaltais c4a11042f7 Update sd-script and add new test config 2024-04-01 11:30:54 -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
bmaltais 37368829ae Merge branch 'dev' of https://github.com/bmaltais/kohya_ss into dev 2024-03-30 21:21:29 -04:00
Disty0 2dc81c7878
Update IPEX to 2.1.20+xpu (#2181)
* Update IPEX to 2.1.20+xpu

* Disable ipexrun by default
2024-03-30 16:32:32 -04:00
陳鈞 d504015c3a
chore(docker): Fix bitsandbytes can't find cuda (#2178)
* chore(docker): enhance build process with apt caching

- Cache `apt-get` update in Docker build to speed up subsequent builds
- Avoid cleaning `apt-get` cache and removing /var/lib/apt/lists/* after each install to take advantage of caching
- Add arguments for TARGETARCH and TARGETVARIANT
- Utilize cache mounting for pillow-simd installation in x86 platform
- Remove manual cleaning of `apt-get` and `/var/lib/apt/lists/*` after installing runtime dependencies

Signed-off-by: 陳鈞 <jim60105@gmail.com>

* chore(docker): Fix bitsandbytes can't find cuda

- Set work directory to /tmp
- Defined several environment variables for CUDA version 12.1.1
- Install the CUDA keyring
- Added a process for partial installation of CUDA to minimize Docker image size
- Added /usr/local/cuda/lib and /usr/local/cuda/lib64 to PATH and LD_LIBRARY_PATH environment variables

Signed-off-by: 陳鈞 <jim60105@gmail.com>

* chore(docker): add `--headless` in the Dockerfile

- Add `--headless` option to the execution command of `kohya_gui.py` in the Dockerfile

Signed-off-by: 陳鈞 <jim60105@gmail.com>

---------

Signed-off-by: 陳鈞 <jim60105@gmail.com>
2024-03-30 16:31:51 -04:00
bmaltais 666c860a39 Update sd-scripts version 2024-03-30 16:29:08 -04:00
Bernard Maltais ebc157bb68 Add support for Main process port 2024-03-29 20:56:37 -04:00
Bernard Maltais 791ae79f6d Update README 2024-03-29 10:36:56 -04:00
Disty0 5d4c4486f9
AMD ROCm installer (#2167)
* ROCm installer

* Update requirements_linux_rocm.txt
2024-03-27 17:48:05 -04:00
bmaltais d74361ed30 Update README 2024-03-27 17:41:16 -04:00
bmaltais a185f2c2f4 Update sd-script dev commit to latest 2024-03-27 08:54:09 -04:00
bmaltais 9df3ed96d0 Update readme and automate accelerate config on windows 2024-03-27 08:41:44 -04:00
bmaltais 381e85296a Add support for masked_loss to the GUI 2024-03-26 20:14:07 -04:00
bmaltais 9fd7cf8872 Update requirements 2024-03-26 19:27:16 -04:00
bmaltais b0139c751a Add gui support for save_state_on_train_end 2024-03-26 19:22:27 -04:00
bmaltais 0f889a8eb6 Add gui support for noise_offset_random_strength, ip_noise_gamma, ip_noise_gamma_random_strength 2024-03-26 19:12:48 -04:00
bmaltais 0a05c07149 Update to sd-scripts dev branch
Add support for ip_noise_gamma, ip_noise_gamma_random_strength and noise_offset_random_strength
2024-03-26 19:10:32 -04:00
Disty0 452a8132a5
Update logging for validate_requirements.py (#2159)
* Update logging for validate_requirements.py

* dedupe return torch verison
2024-03-26 07:04:53 -04:00
bmaltais 85c2b37a6a Fix max grad norm issue in DB 2024-03-25 10:54:51 -04:00
bmaltais 64360cec9e Fix issue where max_grad_norm = 0 would not show in the command line arguments 2024-03-24 20:46:38 -04:00
bmaltais 43069a8e1b Update Triton install warning 2024-03-24 15:46:48 -04:00
bmaltais f52167d1fb Merge branch 'dev' of https://github.com/bmaltais/kohya_ss into dev 2024-03-24 15:41:37 -04:00
bmaltais e50cb8a1e8 Aligh windows requirements to new sd-scripts requirements 2024-03-24 15:41:34 -04:00
bmaltais 25f9378dc2
BLIP2 Captioning (#2144)
* 1st comit

* BLIP2 captioning implementation
2024-03-22 21:16:59 -04:00
bmaltais 739da3a8ed Update setup common functions 2024-03-22 09:16:44 -04:00
Bernard Maltais aaf0396d62 Fix vae path validation 2024-03-21 13:37:02 -04:00
Bernard Maltais c31e6c1073 Update icons 2024-03-20 19:45:24 -04:00
bmaltais 8146414568 Update code 2024-03-20 16:16:02 -04:00
bmaltais 4b5466c22f Update readme 2024-03-19 21:13:56 -04:00
bmaltais cdd16b22dc Adding support for LyCORIS BOFT, QLyCORIS and DoRA 2024-03-19 21:05:10 -04:00
bmaltais e9cee44db2 Add option to install Triton for Windows to setup menu 2024-03-19 19:04:51 -04:00
bmaltais 99691b7b5d
Merge dev-toml (#2131)
* Integrate toml file option in GUI
2024-03-19 18:21:40 -04:00
bmaltais 0afc9c839f
Merge branch 'master' into dev 2024-03-19 15:01:17 -04:00
bmaltais 3e4f0c9e13 Fix blip caption issue 2024-03-19 14:59:10 -04:00
bmaltais 72dad43d34
Merge pull request #2121 from MontriSugoiDev/dev
fixed bitsandbytes 0.41.2 installation not working on setup_windows
2024-03-19 12:55:43 -04:00
bmaltais b0b3676126
Merge pull request #2124 from gesen2egee/patch-1
Add missed train_norm network args for diag-oft
2024-03-19 12:55:08 -04:00
bmaltais 95112e9817
Merge pull request #2127 from bmaltais/dev
v23.0.13
2024-03-19 12:53:31 -04:00
bmaltais c96cdf20ae v23.0.13 2024-03-19 12:52:42 -04:00
gesen2egee c3239a0b76
Update lora_gui.py 2024-03-19 19:18:48 +08:00