Kohya S
d151833526
docs: update README with recent changes and specify version for pytorch-optimizer
2025-03-20 22:05:29 +09:00
gesen2egee
5b210ad717
update prodigyopt and prodigy-plus-schedule-free
2025-03-19 10:49:06 +08:00
gesen2egee
e5b5c7e1db
Update requirements.txt
2025-03-15 13:29:32 +08:00
rockerBOO
c04e5dfe92
Fix loss recorder on 0. Fix validation for cached runs. Assert on validation dataset
2025-01-23 09:57:24 -05:00
Kohya S
e89653975d
update requirements.txt and README to include RAdamScheduleFree optimizer support
2024-12-15 19:39:47 +09:00
Kohya S
3ebb65f945
Merge branch 'dev' into sd3
2024-09-26 21:41:25 +09:00
sdbds
ab7b231870
init
2024-09-25 19:38:52 +08:00
Kohya S.
bbd160b4ca
sd3 schedule free opt ( #1605 )
...
* New ScheduleFree support for Flux (#1600 )
* init
* use no schedule
* fix typo
* update for eval()
* fix typo
* update
* Update train_util.py
* Update requirements.txt
* update sfwrapper WIP
* no need to check schedulefree optimizer
* remove debug print
* comment out schedulefree wrapper
* update readme
---------
Co-authored-by: 青龍聖者@bdsqlsz <865105819@qq.com >
2024-09-18 07:55:04 +09:00
Kohya S
6dbfd47a59
Fix to work PIECEWISE_CONSTANT, update requirement.txt and README #1393
2024-09-11 21:44:36 +09:00
青龍聖者@bdsqlsz
fd68703f37
Add New lr scheduler ( #1393 )
...
* add new lr scheduler
* fix bugs and use num_cycles / 2
* Update requirements.txt
* add num_cycles for min lr
* keep PIECEWISE_CONSTANT
* allow use float with warmup or decay ratio.
* Update train_util.py
2024-09-11 21:25:45 +09:00
Kohya S
ce144476cf
Merge branch 'dev' into sd3
2024-09-07 10:59:22 +09:00
dependabot[bot]
3a6154b7b0
Bump opencv-python from 4.7.0.68 to 4.8.1.78
...
Bumps [opencv-python](https://github.com/opencv/opencv-python ) from 4.7.0.68 to 4.8.1.78.
- [Release notes](https://github.com/opencv/opencv-python/releases )
- [Commits](https://github.com/opencv/opencv-python/commits )
---
updated-dependencies:
- dependency-name: opencv-python
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-08-31 06:21:16 +00:00
Kohya S
8fdfd8c857
Update safetensors to version 0.4.4 in requirements.txt #1524
2024-08-29 22:26:29 +09:00
kohya-ss
0415d200f5
update dependencies closes #1450
2024-08-13 21:00:16 +09:00
Kohya S
e4d9e3c843
remove dependency for omegaconf #ref 1284
2024-05-19 17:46:07 +09:00
青龍聖者@bdsqlsz
4477116a64
fix train controlnet
2024-04-20 21:26:09 +08:00
Kohya S
c86e356013
Merge branch 'dev' into dataset-cache
2024-03-26 19:43:40 +09:00
Kohya S
9bbb28c361
update PyTorch version and reorganize dependencies
2024-03-24 22:06:37 +09:00
Kohaku-Blueleaf
ae97c8bfd1
[Experimental] Add cache mechanism for dataset groups to avoid long waiting time for initilization ( #1178 )
...
* support meta cached dataset
* add cache meta scripts
* random ip_noise_gamma strength
* random noise_offset strength
* use correct settings for parser
* cache path/caption/size only
* revert mess up commit
* revert mess up commit
* Update requirements.txt
* Add arguments for meta cache.
* remove pickle implementation
* Return sizes when enable cache
---------
Co-authored-by: Kohya S <52813779+kohya-ss@users.noreply.github.com >
2024-03-24 15:40:18 +09:00
青龍聖者@bdsqlsz
6c51c971d1
fix typo
2024-03-20 09:35:21 +08:00
青龍聖者@bdsqlsz
a71c35ccd9
Update requirements.txt
2024-03-18 22:31:59 +08:00
青龍聖者@bdsqlsz
5410a8c79b
Update requirements.txt
2024-03-18 22:31:00 +08:00
Kohya S
24092e6f21
update einops to 0.7.0 #1122
2024-02-24 19:51:51 +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
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
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
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
Kohya S
7e736da30c
update versions of accelerate and diffusers
2023-09-24 17:46:57 +09:00
Kohya S
9d855091bf
make bitsandbytes optional
2023-08-04 22:29:14 +09: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 b65c023083 , reversing
changes made to f6fda20caf .
* Revert "Update requirements.txt for bitsandbytes 0.38.1"
This reverts commit 83abc60dfa .
* Revert "Delete cextension.py"
This reverts commit 3ba4dfe046 .
* Revert "Update README.md for bitsandbytes-windows"
This reverts commit 4642c52086 .
* Revert "Update README-ja.md for bitsandbytes 0.38.1"
This reverts commit fa6d7485ac .
* 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
Kohya S
d1864e2430
add invisible watermark to req.txt
2023-07-22 19:34:22 +09:00
Kohya S
c45d2f214b
Merge branch 'main' into sdxl
2023-07-20 22:02:29 +09:00
Kohya S
8fa5fb2816
support diffusers format for SDXL
2023-07-12 21:57:14 +09:00
Kohya S
38e21f5c1a
update transfomer to fix sdxl text model with bf16
2023-06-29 13:03:00 +09:00
Bo Lu
7981ee186f
Update huggingface hub to resolve error in windows
...
https://github.com/huggingface/huggingface_hub/issues/1423
2023-06-26 01:53:23 +08:00
Kohya S
f7f762c676
add minimal inference code for sdxl
2023-06-24 11:52:26 +09:00
Kohya S
5114e8daf1
fix training scripts except controlnet not working
2023-06-22 08:46:53 +09:00
Kohya S
1c09867b3e
update Diffusers, remove BLIP deps
2023-06-22 08:38:44 +09:00
Kohya S
92e50133f8
Merge branch 'original-u-net' into dev
2023-06-17 21:57:08 +09:00
ykume
cc274fb7fb
update diffusers ver, remove tensorflow
2023-06-11 16:54:10 +09:00
ddPn08
c8d209d36c
update diffusers to 1.16 | train_network
2023-06-01 20:39:26 +09:00
Kohya S
85df289190
remove gradio from requirements
2023-05-07 21:00:06 +09:00
ddPn08
b5ff4e816f
resume from huggingface repository
2023-04-02 17:39:21 +09:00
fur0ut0
8abb8645ae
add detail dataset config feature by extra config file ( #227 )
...
* add config file schema
* change config file specification
* refactor config utility
* unify batch_size to train_batch_size
* fix indent size
* use batch_size instead of train_batch_size
* make cache_latents configurable on subset
* rename options
* bucket_repo_range
* shuffle_keep_tokens
* update readme
* revert to min_bucket_reso & max_bucket_reso
* use subset structure in dataset
* format import lines
* split mode specific options
* use only valid subset
* change valid subsets name
* manage multiple datasets by dataset group
* update config file sanitizer
* prune redundant validation
* add comments
* update type annotation
* rename json_file_name to metadata_file
* ignore when image dir is invalid
* fix tag shuffle and dropout
* ignore duplicated subset
* add method to check latent cachability
* fix format
* fix bug
* update caption dropout default values
* update annotation
* fix bug
* add option to enable bucket shuffle across dataset
* update blueprint generate function
* use blueprint generator for dataset initialization
* delete duplicated function
* update config readme
* delete debug print
* print dataset and subset info as info
* enable bucket_shuffle_across_dataset option
* update config readme for clarification
* compensate quotes for string option example
* fix bug of bad usage of join
* conserve trained metadata backward compatibility
* enable shuffle in data loader by default
* delete resolved TODO
* add comment for image data handling
* fix reference bug
* fix undefined variable bug
* prevent raise overwriting
* assert image_dir and metadata_file validity
* add debug message for ignoring subset
* fix inconsistent import statement
* loosen too strict validation on float value
* sanitize argument parser separately
* make image_dir optional for fine tuning dataset
* fix import
* fix trailing characters in print
* parse flexible dataset config deterministically
* use relative import
* print supplementary message for parsing error
* add note about different methods
* add note of benefit of separate dataset
* add error example
* add note for english readme plan
---------
Co-authored-by: Kohya S <52813779+kohya-ss@users.noreply.github.com >
2023-03-01 20:58:08 +09:00
Kohya S
a75baf9143
Add strict version no
2023-02-10 17:37:19 +09:00
Kohya S
57d8483eaf
add GIT captioning, refactoring, DataLoader
2023-02-03 08:45:33 +09:00