Commit Graph

2957 Commits (e5e8be05fe0475a04e61ef668afffc632aa178f5)

Author SHA1 Message Date
bmaltais e5e8be05fe Update gradio to 4.43.0 to fix issue with fastapi latest release 2024-09-06 07:01:09 -04:00
bmaltais df0c81db56
Merge pull request #2682 from bmaltais/173-error-on-train-typeerror-int-argument-must-be-a-string-a-bytes-like-object-or-a-real-number-not-nonetype
Fix issue with missing key. Upgrade Gradio release for security issue.
2024-08-02 10:44:25 -04:00
bmaltais 3121d5ec35 Fix issue with missing key. Upgrade Gradio release for security issue. 2024-08-02 10:41:13 -04:00
bmaltais 2209e4c667
Merge pull request #2677 from bmaltais/dependabot/github_actions/crate-ci/typos-1.23.6
Bump crate-ci/typos from 1.21.0 to 1.23.6
2024-08-02 10:26:31 -04:00
dependabot[bot] 84369604ac
Bump crate-ci/typos from 1.21.0 to 1.23.6
Bumps [crate-ci/typos](https://github.com/crate-ci/typos) from 1.21.0 to 1.23.6.
- [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.21.0...v1.23.6)

---
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>
2024-08-01 05:14:00 +00:00
bmaltais 726ea78657
Security fix (#2668)
* Fix Security vulnerabilties: gradio and onnx

* Update release
2024-07-24 18:45:58 -04:00
bmaltais 5ed56238b2
Merge pull request #2491 from bmaltais/dev
v24.1.4
2024-05-11 15:27:50 -04:00
bmaltais 3b771f51ec
Fix finetuning meta file creation (#2488) 2024-05-11 09:10:39 -04:00
bmaltais d010b0d15b Fix resume folder path validation 2024-05-10 20:16:39 -04:00
Lucas Freire Sangoi bfc2856c68
Minor fixes (#2480)
* Update common_gui.py

Little fix to the `validate_model_path` function to properly handle a folder path. Currently, it errors out when a folder path is selected for a training with diffusers. 😊

* Update lora_gui.py

Switching the validation type for the resume training state path from 'file' to 'folder'.
😊

* Update common_gui.py

format

* Update common_gui.py

My last fix was wrong and was returning errors when using a default model or when the VAE was not defined. This new fix works with all possibilities.
However, when a diffusers folder is used, `validate_file_path` will show a failed check, but the operation will still succeed because `validate_folder_path` will return successfully.
2024-05-10 20:08:52 -04:00
bmaltais 8316941a59
Merge pull request #2478 from bmaltais/dev
v24.1.3
2024-05-09 18:10:28 -04:00
bmaltais dd083f95b0 Update release number 2024-05-09 18:09:33 -04:00
bmaltais 2a188b0ab6
Merge pull request #2477 from bmaltais/2475-is-not-recognized-as-an-internal-or-external-command
Catch when accelerate command is not found
2024-05-09 18:01:30 -04:00
bmaltais 73822af880 Catch when accelerate command is not found 2024-05-09 18:01:05 -04:00
bmaltais f8b30fede1
Merge pull request #2473 from bmaltais/2470-v2412-does-not-create-output-folder-if-not-exist
Fix creation of output folders
2024-05-09 13:30:54 -04:00
bmaltais 27b58a79f2 Fix creation of output folders 2024-05-09 13:30:27 -04:00
bmaltais a0c7e5c15c
Merge pull request #2472 from bmaltais/2471-v2412-tensorboard-not-starting
Fix issue with tensorboard
2024-05-09 13:20:45 -04:00
bmaltais 92a01a3890 Fix issue with tensorboard 2024-05-09 13:20:20 -04:00
bmaltais e2206e0e10
Merge pull request #2465 from bmaltais/dev
v24.1.2
2024-05-07 19:44:12 -04:00
bmaltais ca668e805b Update release 2024-05-07 19:43:41 -04:00
bmaltais fa5f434416
Merge pull request #2464 from bmaltais/2463-cant-merge-loras-anymore
Fix issue with svd merge int parameters handling
2024-05-07 19:07:03 -04:00
bmaltais 79afb84f60 Fix issue with svd merge int parameters handling 2024-05-07 19:06:40 -04:00
bmaltais 7fac1e89dd Move env var config to common_gui 2024-05-07 07:58:11 -04:00
bmaltais 8f8ec7a3de
Merge pull request #2462 from notjedi/vae-validation-fix
fix: vae path validation
2024-05-07 07:17:50 -04:00
bmaltais 5984c87d22 Update model validation code 2024-05-07 07:17:27 -04:00
Krithic Kumar 3902707d9b fix: vae path validation 2024-05-07 13:41:24 +05:30
bmaltais c2110aebba
Merge pull request #2455 from bmaltais/dev
v24.1.1
2024-05-06 06:44:40 -04:00
bmaltais 39293d326f
Merge pull request #2454 from bmaltais/vae_file_path
Fix issue with vae file path validation
2024-05-06 06:44:16 -04:00
bmaltais 8f8907f36c Fix issue with vae file path validation 2024-05-06 06:43:43 -04:00
bmaltais 95f888306e
Merge pull request #2450 from bmaltais/dev
v24.1.0
2024-05-05 18:34:32 -04:00
bmaltais d26dad20b6
Relocate toml training config file to same folder as the model output directory (#2448) 2024-05-05 13:43:56 -04:00
bmaltais a6e7e1050e
Implement support to setup venv with python 3.10.x on windows (#2444) 2024-05-05 11:23:20 -04:00
DukeSniper adc33352a7
fix unescaped backslash (#2436) 2024-05-03 09:18:35 -04:00
DukeSniper da59ac1019
make sure setuptools are available in the venv (#2437) 2024-05-03 09:17:37 -04:00
bmaltais 36071cc244
Improve files and folders validation (#2429) 2024-05-01 08:29:31 -04:00
dependabot[bot] d32771b2f3
Bump crate-ci/typos from 1.19.0 to 1.21.0 (#2427)
Bumps [crate-ci/typos](https://github.com/crate-ci/typos) from 1.19.0 to 1.21.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.19.0...v1.21.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>
Co-authored-by: bmaltais <bernard@ducourier.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-01 07:03:34 -04:00
Disty0 67137fa767
ROCm switch PyTorch to stable branch (#2420) 2024-04-30 20:25:56 -04:00
bmaltais e836bb5847
Add support for custom LyCORIS preset config toml base files (#2425)
* Add support for custom LyCORIS preset config toml base files
2024-04-30 20:24:15 -04:00
bmaltais 91350e5581 Update utility code 2024-04-30 20:09:19 -04:00
bmaltais 7bbc99d91b
2382 some incorrect usage related to the recent shell=false issue (#2417)
* Convert script back to no shell.

* Update rest of tools and update dreambooth to no shell

* Update rest of trainers to not use shell

* Allow the use of custom caption extension
2024-04-29 07:44:55 -04:00
bmaltais 415d7b2568
Merge pull request #2416 from bmaltais/dev
v24.0.9
2024-04-29 07:16:36 -04:00
b-fission fbd0d1a0cf
Use zero as minimum LR for polynomial scheduler (#2410) 2024-04-29 07:15:56 -04:00
bmaltais 72927fba0c
Merge pull request #2415 from bmaltais/2402-always_first_tags-is-not-passwed-when-using-wd14-captioning
Fix issue with pre and post fix caption in subfolders
2024-04-29 07:14:03 -04:00
bmaltais a97d3a94ee Fix issue with pre and post fix caption in subfolders 2024-04-29 07:13:34 -04:00
bmaltais 31d284d4e9
Merge pull request #2406 from bmaltais/2405-feature-request-print-command-save-toml-file-as-named-file-instead-of-temp-file
Change tmp file config name to have date and time info
2024-04-27 21:02:18 -04:00
bmaltais ee725a9c01 Change tmp file config name to have date and time info 2024-04-27 21:01:56 -04:00
bmaltais f66a238f56
Merge pull request #2398 from bmaltais/dev
v24.0.8
2024-04-26 20:09:09 -04:00
陳鈞 074de82dc5
chore(docker): Configure TensorBoard port through .env file (#2397)
* chore(docker): Configure TensorBoard port through .env file

- Added a new `.env` file to specify the TensorBoard port
- Updated the `docker-compose.yaml` file to import the TensorBoard port from the `.env` file
- Adjusted the tensorboard service in `docker-compose.yaml` to make the port configurable via an environment variable
- Added a comment in `docker-compose.yaml` to encourage changing the port in the `.env` file instead of the docker-compose file itself

* fix: the `Open tensorboard` button is not working in headless environment

Use the gradio builtin feature instead.

- In `class_tensorboard.py`, the "Open tensorboard" button now directly links to the tensorboard URL instead of calling the `open_tensorboard_url` function when clicked.
2024-04-26 19:43:37 -04:00
bmaltais f2c3b6234c Update README 2024-04-26 10:25:03 -04:00
bmaltais 0c2c2d4e06 Add "Open tensorboard" button for docker containers without tensorflow installed 2024-04-26 10:03:25 -04:00