Commit Graph

173 Commits (master)

Author SHA1 Message Date
bmaltais c0be9f70da Cleanup files 2025-05-27 08:47:38 -04:00
bmaltais 829d5a6af3 Fix non sdxl device selection 2025-05-19 11:18:00 -04:00
bmaltais 25f8925aeb Phase 2 completed 2025-05-19 11:00:56 -04:00
bmaltais e580ad60e9 remove sd-scripts dependancies 1 2025-05-19 10:52:14 -04:00
bmaltais 7767a5a3ec Code cleanup 2025-05-18 17:36:24 -04:00
bmaltais 1e0aba6b55 Update 2025-05-18 12:55:40 -04:00
bmaltais 4f1405c1c7 before trying the new binary rank search 2025-05-13 21:08:13 -04:00
bmaltais 0108ae20f8 wip3 2025-05-13 11:51:52 -04:00
bmaltais 235a059bb1 wip2 2025-05-13 10:51:18 -04:00
bmaltais 8a50bf2dca Improved logging 2025-05-13 09:51:13 -04:00
bmaltais 7abbb8ecbc Improve loha training auto rank change 2025-05-13 05:51:55 -04:00
bmaltais 926c8f344f Good ver 2025-05-11 00:52:58 -04:00
bmaltais ece84c6d06 wip 2025-05-10 15:33:24 -04:00
bmaltais be30140562 wip2 2025-05-05 07:53:09 -04:00
bmaltais 9442940cea Update to python 3.11 as version for the gui
Add deepspeed support under linux
2025-05-03 09:29:42 -04:00
tdtrumble 71ebffaafb
Update lycoris_locon_extract.py, updated imports (#3184) 2025-04-19 10:21:48 -04:00
bmaltais 91350e5581 Update utility code 2024-04-30 20:09:19 -04:00
bmaltais 321325a0e8 Update release 2024-04-17 13:28:18 -04:00
bmaltais da5b7745f8 Improve new caption tool 2024-04-06 09:35:18 -04:00
bmaltais e8fa9178c4 Ad new caption tool 2024-04-06 09:15:55 -04:00
bmaltais 3e023952df
Dev pure (#2039)
* Remove library folder, update setup_windows

* Cleanup sd-scripts files

* set sd-scripts release via file

* More cleanup

* Point to sd-scripts python files

* Fix blip captioning working directory

* Fix typo

* Fix issue with verify lora

* Improve git cloning of sd-scripts repo

* Integrate cloning in linux setup script

* Remove unnecessary folder

* Update linux setup

* Removing unnecessary code

* Fix validation issue under linux

* Update tensorboard version linux

* Updating linux requirements

* Update README

* Added submodule for sd-scripts

* Update for proper submodule handling

* Simplify submodule init

* Update comment

* Improve WSL2 LD_LIBRARY_PATH handling

* Update tensorboard handling of logging_dir

* chore(docker): update TensorFlow and TensorBoard versions

- Upgrade TensorFlow version in Dockerfile and requirements to 2.15.0.post1
- Update TensorBoard version in requirements to 2.15.2

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

* chore(docker): Add a mount for `sd-scripts` in the Dockerfile during pip install

- Add a mount step for `sd-scripts` in the Dockerfile during pip install.

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

* doc(docker): Update readme about docker

* Fix issue with TE LR

* Fix issue with TE LR

* Update sd-scripts to Feb 27 2024 commit

* Update version of bnb for windows

* Update windows setup

* Update windows setup

* Update bnb linux to match windows

* remove height:auto

* update UI

 * unify Quick Pick + custom model selection into gr.Dropdown()
 * add list_dirs(), list_files()
 * use gr.Accordion()
 * always show model + training image folder + output name + minimal default settings
 * do not show hidden files
 * clean up list_*()

* use PYTHONPATH env variable

* add "tool" classname to gr.Button() for sd-webui compatible

* update *_caption_gui.py using create_refresh_buttons()

* update Utilities->Group Images

* update Utilities->Convert model

* update dataset gui

* update Dreambooth/LoRA folders preparation

* update *lora*_gui UI using list_files(), create_refresh_button()

* more fixes for PYTHONPATH

* Minor edits to basic caption and common gui

* Optimising some code

* Fix path issue

* Fix issues with list_images_dir

* Update finetuning image folder label

* Minor updates to UI

---------

Signed-off-by: 陳鈞 <jim60105@gmail.com>
Co-authored-by: 陳鈞 <jim60105@gmail.com>
Co-authored-by: Won-Kyu Park <wkpark@gmail.com>
2024-03-09 09:30:20 -05:00
Won-Kyu Park 80e82cf8ee
from library.utils import setup_logging 2024-03-02 14:10:04 +09:00
bmaltais 89babc140e Update validation 2024-03-01 16:42:12 -05:00
bmaltais a20c2bdfaa Merge branch 'main' of https://github.com/kohya-ss/sd-scripts into dev 2024-02-24 10:40:41 -05:00
Kohya S f4132018c5 fix to work with cpu_count() == 1 closes #1134 2024-02-24 19:25:31 +09:00
bmaltais dfe3bec880 Fix Lora Extract GUI issue 2024-02-17 09:16:47 -05:00
Kohya S baa0e97ced Merge branch 'dev' into dev_device_support 2024-02-17 11:54:07 +09:00
Kohya S 358ca205a3 Merge branch 'dev' into dev_device_support 2024-02-12 13:01:54 +09:00
Kohya S 98f42d3a0b Merge branch 'dev' into gradual_latent_hires_fix 2024-02-12 12:59:25 +09:00
Yuta Hayashibe 5f6bf29e52
Replace print with logger if they are logs (#905)
* Add get_my_logger()

* Use logger instead of print

* Fix log level

* Removed line-breaks for readability

* Use setup_logging()

* Add rich to requirements.txt

* Make simple

* Use logger instead of print

---------

Co-authored-by: Kohya S <52813779+kohya-ss@users.noreply.github.com>
2024-02-04 18:14:34 +09:00
Disty0 a6a2b5a867 Fix IPEX support and add XPU device to device_utils 2024-01-31 17:32:37 +03:00
Aarni Koskela 478156b4f7 Refactor device determination to function; add MPS fallback 2024-01-23 14:29:03 +02:00
Kohya S da9b34fa26 Merge branch 'dev' into gradual_latent_hires_fix 2024-01-04 19:53:46 +09:00
bmaltais a18bffc8b4 Merge branch 'main' of https://github.com/kohya-ss/sd-scripts into dev 2023-12-24 11:47:34 -05:00
Kohya S 3b5c1a1d4b Fix issue with tools/convert_diffusers20_original_sd.py 2023-12-24 21:45:51 +09:00
Disty0 7080e1a11c Fix convert_diffusers20_original_sd.py and add metadata & variant options 2023-12-22 22:40:03 +03:00
bmaltais 2e37d0de4c Add support to conver model to LCM model 2023-12-12 10:38:16 -05:00
Kohya S 07ef03d340 fix controlnet to work with gradual latent 2023-12-12 08:03:27 +09:00
bmaltais 821cdda125 Update Lycoris 2023-12-03 11:52:20 -05:00
bmaltais 9619a8214f
Merge branch 'dev2' into cleanup 2023-10-10 20:19:49 -04:00
bmaltais e4419b2623 Merge branch 'main' of https://github.com/kohya-ss/sd-scripts into dev2 2023-10-10 15:49:01 -04:00
Sam McLeod 72494a6687 fix: linting, spelling 2023-10-10 12:46:27 +11:00
bmaltais 383f4af137 Add support for finetuning presets 2023-10-01 15:19:58 -04:00
bmaltais 77ad80715c Merge branch 'main' of https://github.com/kohya-ss/sd-scripts into dev2 2023-10-01 14:35:29 -04:00
Yuta Hayashibe 27f9b6ffeb updated typos to v1.16.15 and fix typos 2023-10-01 21:51:24 +09:00
Kohya S 0ecfd91a20 fix VAE becomes last one 2023-09-13 17:59:14 +09:00
bmaltais cf4d4e1f28 Add preset, fix make_caption library path 2023-09-10 15:56:20 -04:00
bmaltais 49c67e5e71 Fix for LyCoris extraction 2023-08-19 10:48:44 -04:00
bmaltais 940302cd93 Add new blip2 caption processor tool 2023-08-15 06:39:21 -04:00
bmaltais 78c14bd46f Add max_train_steps and lr_scheduler_args 2023-08-09 20:04:04 -04:00