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
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
477b5260aa
fix sai metadata for sdxl closes #824
2023-09-24 14:47:13 +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
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
6134619998
Add block dim(rank) feature
2023-04-03 21:19:49 +09:00
Robert Smieja
eb66e5ebac
Extract parser setup to helper function
...
- Allows users who `import` the scripts to examine the parser programmatically
2023-03-20 00:06:47 -04:00
Kohya S
75d1883da6
fix LoRA rank is limited to target dim
2023-03-10 21:12:15 +09:00
Kohya S
51249b1ba0
support conv2d 3x3 LoRA
2023-03-09 20:56:33 +09:00
Kohya S
ddfe94b33b
Update for alpha value
2023-01-22 21:33:35 +09:00
space-nuko
2e4ce0fdff
Add training metadata to output LoRA model
2023-01-10 02:49:52 -08:00
Kohya S
4dd22f4dc8
add script to approximate diff of two models
2023-01-06 21:36:01 +09:00