Kohya S
cbe9c5dc06
supprt deep shink with regional lora, add prompter module
2024-02-12 14:17:27 +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
mgz
d4b9568269
fix broken import in svd_merge_lora script
...
remove missing import, and remove unused imports
2024-01-28 11:59:07 -06:00
Kohya S
c59249a664
Add options to reduce memory usage in extract_lora_from_models.py closes #1059
2024-01-20 18:45:54 +09:00
Kohya S
0fb9ecf1f3
format by black, add ja comment
2023-11-25 21:05:55 +09:00
Won-Kyu Park
2c1e669bd8
add min_diff, clamp_quantile args
...
based on https://github.com/bmaltais/kohya_ss/pull/1332 a9ec90c40a
2023-11-10 02:35:55 +09:00
Won-Kyu Park
e20e9f61ac
use **kwargs and change svd() calling convention to make svd() reusable
...
* add required attributes to model_org, model_tuned, save_to
* set "*_alpha" using str(float(foo))
2023-11-10 02:35:10 +09:00
Kohya S
8b79e3b06c
fix typos
2023-10-09 18:00:45 +09:00
Kohya S
66741c035c
add OFT
2023-10-09 17:59:24 +09:00
laksjdjf
14aa2923cf
Support concat LoRA
2023-09-28 14:39:32 +09:00
Kohya S
1e395ed285
Merge branch 'main' into sdxl
2023-09-24 17:51:08 +09:00
Kohya S
7e736da30c
update versions of accelerate and diffusers
2023-09-24 17:46:57 +09:00
Kohya S
477b5260aa
fix sai metadata for sdxl closes #824
2023-09-24 14:47:13 +09:00
Kohya S
f2491ee0ac
change block name doesn't contain '.' at end
2023-09-24 12:10:56 +09:00
Kohya S
1f169ee7fb
Merge pull request #760 from Symbiomatrix/bugfix1
...
Update resize_lora.py
2023-09-24 11:59:18 +09:00
Kohya S
66817992c1
revert formatting
2023-09-24 11:50:44 +09:00
Kohya S
8052bcd5cd
format by black
2023-09-24 11:26:28 +09:00
Kohya S
55886a0116
add .pt and .pth for available extension
2023-09-24 11:25:54 +09:00
jvkap
a0e05fa291
Update resize_lora.py
2023-09-11 11:41:33 -03:00
jvkap
e33c007cd0
Update resize_lora.py
2023-09-11 11:29:06 -03:00
Kohya S
207fc8b256
fix to work regional LoRA
2023-09-03 17:50:27 +09:00
Kohya S
0ee75fd75d
fix typos, add comments etc.
2023-09-03 12:24:15 +09:00
Kohya S
3d12cdc643
fix typo
2023-08-25 21:18:09 +09:00
Kohya S
526488feaa
alternative impl of ControlNet-LLLite training
2023-08-25 21:16:11 +09:00
Kohya S
6d5cffaee9
add multiplier, steps range
2023-08-22 08:17:21 +09:00
Kohya S
e191892824
fix bucketing doesn't work in controlnet training
2023-08-20 12:24:40 +09:00
ykume
0646112010
fix a bug x is updated inplace
2023-08-20 00:09:09 +09:00
ykume
fef7eb73ad
rename and update
2023-08-19 18:44:40 +09:00
ykume
b5db90c8a8
modify to attn1/attn2 only
2023-08-18 09:00:22 +09:00
Kohya S
1e52fe6e09
add comments
2023-08-17 20:49:39 +09:00
ykume
809fca0be9
fix error in generation
2023-08-17 18:31:29 +09:00
Kohya S
5fa473d5f3
add cond/uncond, update config
2023-08-17 16:25:23 +09:00
ykume
6111151f50
add skip input blocks to lora control net
2023-08-17 13:17:43 +09:00
ykume
306ee24c90
change to use_reentrant=False
2023-08-17 10:19:14 +09:00
Kohya S
3f7235c36f
add lora controlnet train/gen temporarily
2023-08-17 10:08:02 +09:00
Symbiomatrix
9d678a6f41
Update resize_lora.py
2023-08-16 00:08:09 +03:00
Kohya S
983698dd1b
add lora controlnet temporarily
2023-08-15 18:23:22 +09:00
Kohya S
d713e4c757
add lora_fa experimentally
2023-08-13 13:30:34 +09:00
Kohya S
b83ce0c352
modify import #368
2023-08-08 21:09:08 +09:00
Kohya S
92f41f1051
update sdxl ver in lora metadata from v0-9 to v1-0
2023-08-06 22:06:48 +09:00
Kohya S
c142dadb46
support sai model spec
2023-08-06 21:50:05 +09:00
Kohya S
db80c5a2e7
format by black
2023-08-03 20:14:04 +09:00
Kohya S
2b969e9c42
support sdxl
2023-07-24 22:20:21 +09:00
Kohya S
e83ee217d3
format by black
2023-07-24 21:28:37 +09:00
Kohya S
c1d5c24bc7
fix LoRA with text encoder can't merge closes #660
2023-07-23 15:01:41 +09:00
Kohya S
7e20c6d1a1
add convenience function to merge LoRA
2023-07-17 10:30:57 +09:00
Kohya S
1d4672d747
fix typos
2023-07-17 09:05:50 +09:00
Kohya S
39e62b948e
add lora for Diffusers
2023-07-16 19:57:21 +09:00
Kohya S
66c03be45f
Fix TE key names for SD1/2 LoRA are invalid
2023-07-08 09:56:38 +09:00
Kohya S
a751dc25d6
use CLIPTextModelWithProjection
2023-06-27 20:48:06 +09:00