Commit Graph

69 Commits (7aa226ccba67af4b585ca768cf78b9d17e26caed)

Author SHA1 Message Date
Ryan 9d500d99c2
Apple Silicone Support (This time not on Master) (#3174)
* Adding some changes to support current apple silicone

Adding a note that MPS is detected in validation, and a current set of packages that offer MPS torch acceleration

* Adding MPS support for blip2
2025-04-19 10:22:53 -04:00
bmaltais c521ec6bcf Start work to migrate from pip to uv 2025-01-16 10:07:59 -05:00
bmaltais d47e3e6642 Update sd-scripts and allow python 3.10 to 3.12 2024-11-17 10:14:57 -05:00
bmaltais a35d0cdccb Add support for quiet output for linux setup 2024-11-07 10:33:29 -05:00
bmaltais 7928f45aa6 Update sd-scripts, improve requirements outputs 2024-10-27 06:46:44 -04:00
bmaltais 06c3d65c9b Fix validation issue on linux 2024-10-27 06:21:51 -04:00
bmaltais 67f5f7b156 Update torch version and validation output 2024-10-26 19:43:53 -04:00
bmaltais 0d2a9765b4 Update requirements for linux 2024-10-26 11:11:20 -04:00
bmaltais 7d6ebcb7cd Update requirements syntax (for windows) 2024-10-26 10:29:42 -04:00
bmaltais 0d27feaf01 Update setup code 2024-10-05 08:21:14 -04:00
bmaltais cfc79b877b Upgrade to cu124 2024-08-27 18:57:40 -04:00
bmaltais e5c788e766 Fix issue with pip upgrade 2024-05-26 14:04:47 -04:00
DukeSniper adc33352a7
fix unescaped backslash (#2436) 2024-05-03 09:18:35 -04:00
bmaltais 07db163be9
2325 quotes wrapping python path cause subprocess cant find target in v2403 (#2338)
* Fix issue with doublequotes wrapped python path

* Fix path. Always assume no space in path to kohya_ss repo

* Add img path with space

* Enforce no white space in path to kohya_ss
2024-04-18 20:45:43 -04:00
Disty0 082adb9e65 Autodetect for ROCm 2024-04-09 16:55:23 +03:00
bmaltais 666c860a39 Update sd-scripts version 2024-03-30 16:29:08 -04:00
bmaltais 9df3ed96d0 Update readme and automate accelerate config on windows 2024-03-27 08:41:44 -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 43069a8e1b Update Triton install warning 2024-03-24 15:46:48 -04:00
bmaltais e50cb8a1e8 Aligh windows requirements to new sd-scripts requirements 2024-03-24 15:41:34 -04:00
bmaltais 739da3a8ed Update setup common functions 2024-03-22 09:16:44 -04:00
bmaltais e9cee44db2 Add option to install Triton for Windows to setup menu 2024-03-19 19:04:51 -04:00
Montri Ngamakharakul 383df6f090 fixed bitsandbytes 0.41.2 installation not working on setup_windows 2024-03-19 13:29:54 +07:00
bmaltais 9d217148c9 Fix more setup issues 2024-03-13 12:36:27 -04:00
bmaltais 3574062fb6 Fix setup issue for linux 2024-03-13 11:41:22 -04:00
bmaltais 4f190cc885 Fix configure_accelerate 2024-03-12 20:39:09 -04:00
bmaltais b27d0694c4 Improve setup. Add --headless option 2024-03-12 20:31:22 -04:00
bmaltais 70d10e8cd8 Fix issue with setup_common 2024-03-12 07:17:00 -04:00
Bernard Maltais 9a3a16143a Fix issue with spaces in python path 2024-03-12 07:12:08 -04:00
bmaltais 3595f3711c Improve pip module verification 2024-03-11 20:29:16 -04:00
bmaltais 3be05253bb Move cudnn out of requirements 2024-03-11 16:50:51 -04:00
bmaltais 40a9be6c94 Add more validation for the Python version. Will now stop if the wrong version is detected 2024-03-10 19:07:22 -04:00
bmaltais 33ccb84446 Add better python, model and data dir validation 2024-03-09 20:50:25 -05:00
Won-Kyu Park d84c107b0e
typo 2024-03-10 01:42:37 +09: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
bmaltais 89babc140e Update validation 2024-03-01 16:42:12 -05:00
陳鈞 83bf2e0649
chore(docker): rewrite Dockerfile
Signed-off-by: 陳鈞 <jim60105@gmail.com>
2024-02-18 09:58:59 +08:00
Hina Chen 40d7b605da Update some typos 2024-02-15 10:29:00 +08:00
gabriel dhimoila a5558786c9 revert vscode formattage 2024-01-23 23:21:16 +01:00
gabriel dhimoila 253ab8d924 cudann -> cudnn 2024-01-23 23:14:55 +01:00
bmaltais 638ec29fe5 Cleanup old torch1 code 2023-12-05 07:29:23 -05:00
bmaltais 9619a8214f
Merge branch 'dev2' into cleanup 2023-10-10 20:19:49 -04:00
Sam McLeod 72494a6687 fix: linting, spelling 2023-10-10 12:46:27 +11:00
bmaltais a756f0a773 More torch 1 code cleanup 2023-10-04 19:08:42 -04:00
bmaltais 93a181f55b Remove torch 1 support from code 2023-10-04 19:00:12 -04:00
Disty0 b07f780a26 Fix typo 2023-10-02 19:29:20 +03:00
Disty0 ef7bf311bd Initial Intel ARC support with IPEX 2023-09-07 22:40:29 +03:00
Enes Sadık Özbek e48bfbf5aa
Fix bitsandbytes 0.40.1 download link for Windows 2023-08-09 22:43:50 +03:00
bmaltais 68c3edada9
Merge pull request #1336 from bmaltais/master
Update setup_windows.py
2023-08-06 04:21:20 -04:00
bmaltais dec400df8e
Update setup_windows.py
Fix missing bitsandbytes file sync for 0.35.0
2023-08-06 04:20:32 -04:00