Commit Graph

123 Commits (0d4e6c4ece67e8375062cf39f3a8a1e83317382f)

Author SHA1 Message Date
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
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 24092e6f21 update einops to 0.7.0 #1122 2024-02-24 19:51:51 +09:00
bmaltais 7167b33d03 Update code to last version of gradio 3.x 2024-02-10 09:58:30 -05: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
bmaltais a16d65e4b2 Merge branch 'main' of https://github.com/kohya-ss/sd-scripts into dev 2024-01-27 12:34:31 -05:00
feffy380 322ee52c77
Update requirements.txt
Update safetensors to fix a crash when using `--fp8_base --save_state`
2024-01-25 19:15:53 +01:00
bmaltais d3f41f760c Merge branch 'dev' of https://github.com/kohya-ss/sd-scripts into dev 2024-01-04 13:05:32 -05:00
Kohya S 716bad188b Update dependencies ref #1024 2024-01-04 19:53:25 +09:00
Plat 20296b4f0e chore: bump eniops version due to support torch.compile 2023-12-27 02:17:24 +09:00
bmaltais 6c5ed5caa5 Update lycoris module version 2023-12-19 19:01:31 -05:00
bmaltais 9f2637a133
Merge pull request #1765 from tjip1234/master
Update requirements.txt
2023-12-12 10:42:53 -05:00
bmaltais 2e37d0de4c Add support to conver model to LCM model 2023-12-12 10:38:16 -05:00
Raaf ca6661fcf1
Update requirements.txt 2023-12-12 14:02:52 +01:00
bmaltais 821cdda125 Update Lycoris 2023-12-03 11:52:20 -05:00
bmaltais 155fa42531 Add GUI support for ONNX in WD 14 2023-10-10 20:16:01 -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
Kohya S cf49e912fc update readme 2023-10-09 17:59:31 +09:00
Isotr0py d6f458fcb3 fix dependency 2023-10-08 23:51:18 +08:00
Isotr0py 70fe7e18be add onnx to wd14 tagger 2023-10-08 20:31:10 +08:00
bmaltais 93a181f55b Remove torch 1 support from code 2023-10-04 19:00:12 -04:00
bmaltais c0fd1aa81b Update requirements 2023-10-02 17:41:57 -04:00
Sam 5a05cff98f
Update diffusers package to resolve LORA issues 2023-10-02 08:40:35 +10:00
bmaltais 77ad80715c Merge branch 'main' of https://github.com/kohya-ss/sd-scripts into dev2 2023-10-01 14:35:29 -04:00
bmaltais 75e888dcad Update WNADB and presets 2023-10-01 13:15:43 -04:00
Kohya S 7e736da30c update versions of accelerate and diffusers 2023-09-24 17:46:57 +09:00
bmaltais 49c67e5e71 Fix for LyCoris extraction 2023-08-19 10:48:44 -04:00
bmaltais d17f9c1f23 Fix requirements 2023-08-10 13:12:53 -04:00
bmaltais 90d2160417 Merge branch 'sdxl' of https://github.com/kohya-ss/sd-scripts into dev2 2023-08-04 19:58:06 -04:00
Kohya S 9d855091bf make bitsandbytes optional 2023-08-04 22:29:14 +09:00
bmaltais ebcb6efcba Update requirements and others 2023-07-31 23:24:00 -04:00
Kohya S f61996b425 remove dependency for albumenations 2023-07-30 16:29:53 +09:00
青龍聖者@bdsqlsz 9ec70252d0
Add Paged/ adam8bit/lion8bit for Sdxl bitsandbytes 0.39.1 cuda118 on windows (#623)
* ADD libbitsandbytes.dll for 0.38.1

* Delete libbitsandbytes_cuda116.dll

* Delete cextension.py

* add main.py

* Update requirements.txt for bitsandbytes 0.38.1

* Update README.md for bitsandbytes-windows

* Update README-ja.md  for bitsandbytes 0.38.1

* Update main.py for return cuda118

* Update train_util.py for lion8bit

* Update train_README-ja.md for lion8bit

* Update train_util.py for add DAdaptAdan and DAdaptSGD

* Update train_util.py for DAdaptadam

* Update train_network.py for dadapt

* Update train_README-ja.md for DAdapt

* Update train_util.py for DAdapt

* Update train_network.py for DAdaptAdaGrad

* Update train_db.py for DAdapt

* Update fine_tune.py for DAdapt

* Update train_textual_inversion.py for DAdapt

* Update train_textual_inversion_XTI.py for DAdapt

* Revert "Merge branch 'qinglong' into main"

This reverts commit b65c023083d6d1e8a30eb42eddd603d1aac97650, reversing
changes made to f6fda20caf5e773d56bcfb5c4575c650bb85362b.

* Revert "Update requirements.txt for bitsandbytes 0.38.1"

This reverts commit 83abc60dfaddb26845f54228425b98dd67997528.

* Revert "Delete cextension.py"

This reverts commit 3ba4dfe046874393f2a022a4cbef3628ada35391.

* Revert "Update README.md for bitsandbytes-windows"

This reverts commit 4642c52086b5e9791233007e2fdfd97f832cd897.

* Revert "Update README-ja.md  for bitsandbytes 0.38.1"

This reverts commit fa6d7485ac067ebc49e6f381afdb8dd2f12caa8f.

* Update train_util.py for DAdaptLion

* Update train_README-zh.md for dadaptlion

* Update train_README-ja.md for DAdaptLion

* add DAdatpt V3

* Alignment

* Update train_util.py for experimental

* Update train_util.py V3

* Update train_util.py

* Update requirements.txt

* Update train_README-zh.md

* Update train_README-ja.md

* Update train_util.py fix

* Update train_util.py

* support Prodigy

* add lower

* Update main.py

* support PagedAdamW8bit/PagedLion8bit

* Update requirements.txt

* update for PageAdamW8bit and PagedLion8bit

* Revert

* revert main

* Update train_util.py

* update for bitsandbytes 0.39.1

* Update requirements.txt

* vram leak fix

---------

Co-authored-by: Pam <pamhome21@gmail.com>
2023-07-30 13:15:13 +09:00
bmaltais a3db8cd266
Update requirements.txt
Reverting LyCORIS module uodate
2023-07-27 12:46:21 -04:00
Bernard Maltais d55155e467 update 2023-07-27 08:58:12 -04:00
bmaltais b39fd33310 Merge branch 'sdxl' of https://github.com/kohya-ss/sd-scripts into dev2 2023-07-22 06:53:23 -04:00
bmaltais 90cbdb8a64 Merge branch 'sdxl' of https://github.com/kohya-ss/sd-scripts into dev2 2023-07-22 06:50:21 -04:00
Kohya S d1864e2430 add invisible watermark to req.txt 2023-07-22 19:34:22 +09:00
bmaltais 5d799f6f81 Updates to requirements 2023-07-21 08:10:15 -04:00
Kohya S c45d2f214b Merge branch 'main' into sdxl 2023-07-20 22:02:29 +09:00
bmaltais 4703c7fa83 Merge branch 'sdxl' of https://github.com/kohya-ss/sd-scripts into dev2 2023-07-13 21:43:46 -04:00
bmaltais b68b2f9691 Updates 2023-07-13 21:39:30 -04:00
Kohya S 8fa5fb2816 support diffusers format for SDXL 2023-07-12 21:57:14 +09:00
bmaltais 429d2f282f Update gradio release 2023-07-08 16:16:06 -04:00
bmaltais 79169efac5 Update models, Source model functionality 2023-07-01 20:27:12 -04:00
bmaltais ac04f95ae7 Merge branch 'sdxl' of https://github.com/kohya-ss/sd-scripts into sdxl 2023-06-30 14:25:20 -04:00
bmaltais e86bc980ed Update lycoris version 2023-06-29 19:28:20 -04:00
Kohya S 38e21f5c1a update transfomer to fix sdxl text model with bf16 2023-06-29 13:03:00 +09:00
bmaltais 0fe2df79b5 Updated lycoris version, gui fix for ia3 2023-06-28 19:47:41 -04:00