Commit Graph

2653 Commits (0d4e6c4ece67e8375062cf39f3a8a1e83317382f)

Author SHA1 Message Date
bmaltais 0d4e6c4ece Update command executor code 2024-03-16 11:00:13 -04:00
bmaltais 954b208cba Improve class_folder code 2024-03-16 10:44:19 -04:00
bmaltais 331d456a6a Update sd-scripts 2024-03-15 22:56:39 -04:00
bmaltais 7186869c72
Code improvements (#2107)
* Fix incorrect float representation

* Improve code

* Improve code quality

* Improve code

* Updates for https://github.com/bmaltais/kohya_ss/issues/2103
2024-03-15 22:54:00 -04:00
bmaltais 9df91607f7
Merge pull request #2102 from jim60105/refactor/docker
chore(docker): adjust Dockerfile layers to improve build cache design
2024-03-15 22:18:11 -04:00
bmaltais 90a02984cf Cleanup .update deprecations warnings 2024-03-15 10:03:41 -04:00
陳鈞 52228ca15a
feat(docker): map `config` directory under app directory
Signed-off-by: 陳鈞 <jim60105@gmail.com>
2024-03-15 12:44:48 +08:00
陳鈞 ddc71d99d3
feat(docker): map `dataset` to default folders
Signed-off-by: 陳鈞 <jim60105@gmail.com>
2024-03-15 12:44:48 +08:00
陳鈞 53981d8516
refactor: build `dataset` directory structure
Signed-off-by: 陳鈞 <jim60105@gmail.com>
2024-03-15 12:44:48 +08:00
陳鈞 a656722cb1
chore(docker): clean up docker-compose
Clear special settings that were used in the old image.

Signed-off-by: 陳鈞 <jim60105@gmail.com>
2024-03-15 12:44:48 +08:00
陳鈞 58958d4637
chore(docker): adjust Dockerfile layers to improve build cache design
- Remove Docker LABEL related metadata and ARG for UID, VERSION, RELEASE from the beginning of the Dockerfile.
- Add NVIDIA environment settings to make visible devices and driver capabilities available.
- Add ARG UID back and modify user creation command accordingly.
- Make use of hard links (with `--link`) for license and code copy commands to optimize use of space.
- Reposition WORKDIR and ARG declarations for VERSION and RELEASE towards the end of the Dockerfile.
- Attach metadata labels like name, vendor, url, version, release, display name, summary, and description at the end of the Dockerfile, instead of the beginning.

Signed-off-by: 陳鈞 <jim60105@gmail.com>
2024-03-15 12:44:47 +08:00
陳鈞 4ada1ad3ea
refactor: Add `dataset` dir to .gitignore
So it can keep git working tree clean when user has dataset files.

Signed-off-by: 陳鈞 <jim60105@gmail.com>
2024-03-15 10:40:38 +08:00
bmaltais 7081b22cba Add support for `wandb_run_name`, `log_tracker_name` and `log_tracker_config` parameters under the advanced section. 2024-03-14 19:41:34 -04:00
bmaltais e4673acb78 v23.0.11 2024-03-13 17:08:59 -04: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 d16be7b7c7 Update README, fix vae path validation 2024-03-13 07:11:41 -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 890e521b1b v23.0.8 2024-03-12 17:23:33 -04:00
bmaltais dbc2cfec97 Create output and log folder if missing 2024-03-12 17:22:23 -04:00
bmaltais ab32d02ee8 v23.0.7 2024-03-12 11:33:16 -04:00
bmaltais 6df6b982f9 Fix minor issues 2024-03-12 11:31:47 -04:00
bmaltais 6b10cb2c6f New release 2024-03-12 07:38:57 -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
Bernard Maltais 8d30431d1e v23.0.5 2024-03-11 20:32:18 -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 eb9d7bce05 Update README 2024-03-11 10:57:54 -04:00
bmaltais 130b01a2c0 Undo tkinter change 2024-03-11 10:56:15 -04:00
bmaltais 7ccdcb8214 Fix for runpod setup 2024-03-11 10:55:01 -04:00
bmaltais a419b063f4 Trap Tk module issue 2024-03-10 21:08:13 -04:00
bmaltais ea35284748 Update logs folder 2024-03-10 20:54:24 -04:00
bmaltais 1ee7be9ca4 Update bitsandbytes version 2024-03-10 20:51:39 -04:00
bmaltais 4726ca7dd5 Update README 2024-03-10 20:21:07 -04:00
bmaltais 5fa3876ab8 Update setup 2024-03-10 19:30:06 -04:00
Bernard Maltais 1b0a679833 Fix typo in setup.sh 2024-03-10 19:24:44 -04:00
Bernard Maltais 8e61677b7f Install missing packaging module 2024-03-10 19:20:57 -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 ab188dd92d Merge branch 'dev' of https://github.com/bmaltais/kohya_ss into dev 2024-03-10 15:34:31 -04:00
bmaltais 07e7d3acf8 Fix typos 2024-03-10 15:34:29 -04:00
bmaltais d433389cc5
Merge pull request #2054 from ashleykleynhans/master
Bump RunPod requirements to match the Linux ones
2024-03-10 15:30:39 -04:00
bmaltais 40314706c4 Improve user file/folder input validation before running training scripts 2024-03-10 15:27:33 -04:00
Ashley Kleynhans 40702a6866
Bump RunPod requirements to match the Linux ones 2024-03-10 19:44:59 +02:00
bmaltais 33ccb84446 Add better python, model and data dir validation 2024-03-09 20:50:25 -05:00
bmaltais 7dae63e63f
Merge pull request #2048 from bmaltais/dev
v23.0.1
2024-03-09 15:50:52 -05:00
bmaltais 8c760b5e03 Minor code fix for bugs 2024-03-09 15:49:54 -05:00
bmaltais ed01468b47 Fix savinf of config along produced model 2024-03-09 14:52:55 -05:00
bmaltais 2259129f33 Add "" at the begining of list_* to remove confusion and fix issues with optional field being set to a wroong default 2024-03-09 14:27:10 -05:00