Commit Graph

662 Commits

Author SHA1 Message Date
lllyasviel
1766710141 Update preprocessor_compiled.py 2024-01-29 08:23:37 -08:00
lllyasviel
3cb0ffe4ac Update legacy_preprocessors.py 2024-01-29 08:18:30 -08:00
lllyasviel
c7e24751c5 Update legacy_preprocessors.py 2024-01-29 08:13:05 -08:00
lllyasviel
b84aa4b21d Update legacy_preprocessors.py 2024-01-29 08:11:22 -08:00
lllyasviel
313ad8ea8e wrong keys 2024-01-29 08:10:23 -08:00
lllyasviel
0118004dd6 Update legacy_preprocessors.py 2024-01-29 08:06:37 -08:00
lllyasviel
e8b446e3da Update legacy_preprocessors.py 2024-01-29 08:04:55 -08:00
lllyasviel
c071e4494f i 2024-01-29 08:03:03 -08:00
lllyasviel
18254a0984 remove legacy normalbae since we have new one 2024-01-29 07:53:08 -08:00
lllyasviel
336eac060f i 2024-01-29 07:47:56 -08:00
lllyasviel
bd334d3aff i 2024-01-29 07:38:38 -08:00
Chenlei Hu
6cc02dc513
🔧 Correct some tags (#21) 2024-01-28 18:47:53 -08:00
lllyasviel
c77343f3d6 Update preprocessor_compiled.py 2024-01-28 18:43:36 -08:00
lllyasviel
d5ebcafedd Update preprocessor_compiled.py 2024-01-28 18:33:36 -08:00
lllyasviel
858481139b remove nonsense 2024-01-28 18:27:52 -08:00
lllyasviel
515f86ed31 ckpt 2024-01-28 18:24:41 -08:00
lllyasviel
376d7ffad2 i 2024-01-28 18:19:07 -08:00
lllyasviel
aabdb05f07 i 2024-01-28 18:16:43 -08:00
lllyasviel
347cf5b0d9 i 2024-01-28 17:56:59 -08:00
lllyasviel
b5772c6631 Update legacy_preprocessor_loader.py 2024-01-28 17:45:12 -08:00
lllyasviel
365c59aa0a Update legacy_preprocessor_loader.py 2024-01-28 17:37:53 -08:00
lllyasviel
99f4d6f14d Update legacy_preprocessor_loader.py 2024-01-28 17:27:58 -08:00
lllyasviel
09889797a3 Update legacy_preprocessor_loader.py 2024-01-28 17:26:29 -08:00
lllyasviel
bbc1d13032 Update preprocessor_normalbae.py 2024-01-28 16:15:57 -08:00
lllyasviel
957f3e5ba2 Update legacy_preprocessor_loader.py 2024-01-28 16:03:51 -08:00
lllyasviel
aed5d6f7f4 i 2024-01-28 16:02:54 -08:00
lllyasviel
22570a4ff0 Update legacy_preprocessor_loader.py 2024-01-28 15:57:01 -08:00
lllyasviel
aa296b1655 Update legacy_preprocessor_loader.py 2024-01-28 15:54:52 -08:00
lllyasviel
20c785705f Update legacy_preprocessor_loader.py 2024-01-28 15:53:49 -08:00
lllyasviel
4b82188b6e Update legacy_preprocessor_loader.py 2024-01-28 15:51:44 -08:00
lllyasviel
c2d53721e4 Update legacy_preprocessor_loader.py 2024-01-28 15:43:48 -08:00
lllyasviel
4d7d8557e8 Update legacy_preprocessor_loader.py 2024-01-28 15:34:26 -08:00
lllyasviel
946d7ff260
Cnet (#20)
* ini

* i

* i

* i

* i

* i

* i

* Update preprocessor_normalbae.py

* i

* i

* i

* i

* Update README.md

* i

* Update preprocessor_depth.py

* Update shared.py

* Update devices.py

* i

* i

* i

* i

* i

* i

* Update README.md

* i

* Update README.md

* i

* Update annotator_path.py

* i

* i

* Update preprocessor_meta.py
2024-01-28 15:31:49 -08:00
lllyasviel
dafe28c025 i 2024-01-28 09:08:33 -08:00
lllyasviel
ab49b8a07e i 2024-01-28 09:02:50 -08:00
lllyasviel
b2569c0183 advanced controlnet apply finished 2024-01-28 08:52:15 -08:00
lllyasviel
79e462e746 i 2024-01-28 08:09:28 -08:00
lllyasviel
7e32f9ccb4 i 2024-01-28 08:03:36 -08:00
lllyasviel
3d6d19a893 i 2024-01-28 07:56:42 -08:00
lllyasviel
d6be5605aa i 2024-01-28 07:29:29 -08:00
lllyasviel
c3159c0e0e i 2024-01-28 07:28:56 -08:00
lllyasviel
878c7ecfad i 2024-01-28 07:27:51 -08:00
lllyasviel
0b3c331189 i 2024-01-28 07:02:58 -08:00
lllyasviel
3496403b54 i 2024-01-28 06:44:41 -08:00
lllyasviel
70948938fb i 2024-01-28 00:26:49 -08:00
lllyasviel
fe8dbe2562 i 2024-01-28 00:07:10 -08:00
lllyasviel
d58016c39a i 2024-01-27 23:47:17 -08:00
lllyasviel
7ac9a06e9c Update sd_forge_controlnet_example.py 2024-01-27 23:14:26 -08:00
lllyasviel
5c52b72352 i 2024-01-27 23:08:38 -08:00
lllyasviel
37b0e8fb2e Update sd_forge_controlnet_example.py 2024-01-27 22:55:19 -08:00
lllyasviel
449d542a3a Update sd_forge_controlnet_example.py 2024-01-27 22:51:00 -08:00
lllyasviel
b45c68fe3e i 2024-01-27 22:44:49 -08:00
lllyasviel
424b225fb3 Update sd_forge_controlnet_example.py 2024-01-27 22:31:12 -08:00
lllyasviel
0695b4afdb i 2024-01-27 22:28:58 -08:00
lllyasviel
60bd01e378 i 2024-01-27 20:04:10 -08:00
lllyasviel
854b50376d i 2024-01-27 19:52:31 -08:00
lllyasviel
4443d636c6 i 2024-01-27 19:46:55 -08:00
lllyasviel
2074e13253 Update sd_forge_controlnet_example.py 2024-01-27 19:42:48 -08:00
lllyasviel
38e281a50a Update sd_forge_controlnet_example.py 2024-01-27 19:40:58 -08:00
lllyasviel
1b4f2a4411 Update sd_forge_controlnet_example.py 2024-01-27 19:38:47 -08:00
lllyasviel
848f28af6e i 2024-01-27 19:37:33 -08:00
lllyasviel
5d3071331a Update sd_forge_controlnet_example.py 2024-01-27 16:48:04 -08:00
lllyasviel
7e0c454dca Update sd_forge_controlnet_example.py 2024-01-27 16:46:22 -08:00
lllyasviel
1ed5e695fc i 2024-01-27 16:44:10 -08:00
lllyasviel
7676915cd0 Update sd_forge_controlnet_example.py 2024-01-27 16:31:10 -08:00
lllyasviel
c733044ad3 Update sd_forge_controlnet_example.py 2024-01-27 16:08:59 -08:00
lllyasviel
9491c5da11 Update sd_forge_controlnet_example.py 2024-01-27 16:08:44 -08:00
lllyasviel
1fac94d49e Update sd_forge_controlnet_example.py 2024-01-27 16:07:05 -08:00
lllyasviel
d430320ace i 2024-01-27 16:06:07 -08:00
lllyasviel
f78e5f783f Update forge_z123.py 2024-01-27 15:41:01 -08:00
lllyasviel
0b97cb243a remove cn first 2024-01-27 15:35:46 -08:00
lllyasviel
0659e8da2a version not needed now 2024-01-27 10:40:32 -08:00
lllyasviel
ccea2f3305 upload a cn 2024-01-27 10:34:31 -08:00
lllyasviel
ef02d8fa39 Delete forge_controlnet.py 2024-01-27 10:24:44 -08:00
lllyasviel
374ff2ca16 Update forge_controlnet.py 2024-01-27 10:15:56 -08:00
lllyasviel
6f762cfa10 Create forge_controlnet.py 2024-01-27 10:10:13 -08:00
lllyasviel
0b1924ff76 svd video save 2024-01-26 11:12:09 -08:00
lllyasviel
9ef2c4aec5 Update forge_z123.py 2024-01-26 08:26:30 -08:00
lllyasviel
c9b6df7ec1 Create forge_z123.py 2024-01-26 08:02:02 -08:00
lllyasviel
a9eb16c742 i 2024-01-26 00:41:31 -08:00
lllyasviel
e9c770c76d i 2024-01-26 00:32:54 -08:00
lllyasviel
c495d81ba8 Update forge_svd.py 2024-01-26 00:31:07 -08:00
lllyasviel
d560230b3b Update forge_svd.py 2024-01-26 00:27:54 -08:00
lllyasviel
bd269189b8 Update forge_svd.py 2024-01-26 00:25:17 -08:00
lllyasviel
9ed196d706 Update forge_svd.py 2024-01-26 00:03:13 -08:00
lllyasviel
f4edf7c19a Update forge_svd.py 2024-01-25 23:55:52 -08:00
lllyasviel
8e71497b52 Update forge_svd.py 2024-01-25 23:46:26 -08:00
lllyasviel
7147972e80 Update forge_svd.py 2024-01-25 23:34:52 -08:00
lllyasviel
1919a835a4 Update forge_svd.py 2024-01-25 23:33:05 -08:00
lllyasviel
5c545b4da0 Update forge_svd.py 2024-01-25 23:31:21 -08:00
lllyasviel
7b558fe1cd Update forge_svd.py 2024-01-25 23:28:15 -08:00
lllyasviel
7b9c395ab8 Update forge_svd.py 2024-01-25 23:27:35 -08:00
lllyasviel
0ee75c1e44 Update forge_svd.py 2024-01-25 23:26:36 -08:00
lllyasviel
640d005f22 Update forge_svd.py 2024-01-25 23:26:17 -08:00
lllyasviel
63c707818e Update forge_svd.py 2024-01-25 23:25:52 -08:00
lllyasviel
7671237812 Update forge_svd.py 2024-01-25 23:21:56 -08:00
lllyasviel
4eae43efa2 Update forge_svd.py 2024-01-25 23:16:12 -08:00
lllyasviel
7ac67a2eac Update forge_svd.py 2024-01-25 23:14:42 -08:00
lllyasviel
eecfea7ff5 Update forge_svd.py 2024-01-25 23:11:18 -08:00
lllyasviel
77803db5fe Update forge_svd.py 2024-01-25 23:10:59 -08:00
lllyasviel
8c10ec65f0 Update forge_svd.py 2024-01-25 23:09:10 -08:00
lllyasviel
a3ec20b03f Update forge_svd.py 2024-01-25 23:04:14 -08:00
lllyasviel
cf1f31351e Update forge_svd.py 2024-01-25 23:02:17 -08:00
lllyasviel
437d6f9249 i 2024-01-25 23:00:35 -08:00
lllyasviel
e3e84ba063 i 2024-01-25 22:57:14 -08:00
lllyasviel
c4009135f5 Update forge_svd.py 2024-01-25 22:53:07 -08:00
lllyasviel
97b313e5b5 i 2024-01-25 22:52:42 -08:00
lllyasviel
79fa80a346 Update forge_svd.py 2024-01-25 22:51:45 -08:00
lllyasviel
50c5f966ff i 2024-01-25 22:15:39 -08:00
lllyasviel
a858007350 Update forge_svd.py 2024-01-25 22:11:21 -08:00
lllyasviel
d7e259cedf Update forge_svd.py 2024-01-25 22:10:23 -08:00
lllyasviel
67774fbd39 Update forge_svd.py 2024-01-25 22:07:28 -08:00
lllyasviel
e38392b950 Update forge_svd.py 2024-01-25 22:07:07 -08:00
lllyasviel
447b40cc5e Update forge_svd.py 2024-01-25 22:03:43 -08:00
lllyasviel
a0694c856b Update forge_svd.py 2024-01-25 22:00:36 -08:00
lllyasviel
156188a17c Update forge_svd.py 2024-01-25 21:55:02 -08:00
lllyasviel
3c5d8ee73b Update forge_svd.py 2024-01-25 21:54:40 -08:00
lllyasviel
86c56bb919 Update forge_svd.py 2024-01-25 21:51:57 -08:00
lllyasviel
6471999e5a Create forge_svd.py 2024-01-25 21:48:59 -08:00
lllyasviel
c6370ff074 Create kohya_hrfix.py 2024-01-25 20:56:01 -08:00
lllyasviel
5d6fca1920 i 2024-01-25 20:42:07 -08:00
lllyasviel
649468c50c Create forge_hypertile.py 2024-01-25 20:35:27 -08:00
lllyasviel
3c25b7f892 Update forge_sag.py 2024-01-25 18:40:46 -08:00
lllyasviel
b4fbd1327f Create forge_sag.py 2024-01-25 18:40:03 -08:00
lllyasviel
4023969eeb Update forge_freeu.py 2024-01-25 18:34:32 -08:00
lllyasviel
1946fa69bd Update forge_freeu.py 2024-01-25 18:34:04 -08:00
lllyasviel
209e1be761 Update forge_freeu.py 2024-01-25 16:37:18 -08:00
lllyasviel
abf33dbb43 Update forge_freeu.py 2024-01-25 16:11:34 -08:00
lllyasviel
af82470d78 Update forge_freeu.py 2024-01-25 16:10:56 -08:00
lllyasviel
5c79b0d96d Update forge_freeu.py 2024-01-25 16:09:06 -08:00
lllyasviel
6f83b70d82 Update forge_freeu.py 2024-01-25 16:02:54 -08:00
lllyasviel
04b0f62f49 Update forge_freeu.py 2024-01-25 16:01:52 -08:00
lllyasviel
1cdf665ede Update forge_freeu.py 2024-01-25 15:56:37 -08:00
lllyasviel
f5c7fefa43 Update forge_freeu.py 2024-01-25 15:54:52 -08:00
lllyasviel
b157429c6b Update forge_freeu.py 2024-01-25 15:53:51 -08:00
lllyasviel
0ea2e37ebc Update forge_freeu.py 2024-01-25 15:46:27 -08:00
lllyasviel
2f26f1ed2a Update forge_freeu.py 2024-01-25 15:43:20 -08:00
lllyasviel
db7f16d1cc Create forge_freeu.py 2024-01-25 15:41:34 -08:00
lllyasviel
71be477d2f Update networks.py 2024-01-25 14:55:10 -08:00
lllyasviel
3c13770e93 Update lora_script.py 2024-01-25 14:22:13 -08:00
lllyasviel
6677780a27 i 2024-01-25 14:21:34 -08:00
lllyasviel
8bc539a23a i 2024-01-25 14:18:36 -08:00
lllyasviel
d44608f5f5 i 2024-01-25 13:20:43 -08:00
lllyasviel
09da75583d Update networks.py 2024-01-25 12:13:05 -08:00
lllyasviel
a1444c92e3 Update networks.py 2024-01-25 12:08:06 -08:00
lllyasviel
e747c8c564 Update networks.py 2024-01-25 12:05:42 -08:00
lllyasviel
65142eb8b1 Update networks.py 2024-01-25 11:58:00 -08:00
lllyasviel
9f1eb409b6 Update networks.py 2024-01-25 11:56:09 -08:00
lllyasviel
005b8d3869 Revert "Update extra_networks_lora.py"
This reverts commit a815b3db54.
2024-01-25 11:26:41 -08:00
lllyasviel
a815b3db54 Update extra_networks_lora.py 2024-01-25 11:26:01 -08:00
lllyasviel
43e0138e49 Update lora_patches.py 2024-01-25 11:16:34 -08:00
AUTOMATIC1111
358e9e2847
Merge pull request #14726 from v0xie/fix-oft-device
Fix kohya-ss OFT network wrong device for eye and constraint
2024-01-23 22:34:24 +03:00
AUTOMATIC1111
569dc1919c
Merge pull request #14588 from Sj-Si/feature/extra-networks-tree-view
Feature: Extra Networks Tree View
2024-01-22 22:24:06 +03:00
v0xie
fd383140cf fix: wrong devices for eye and constraint 2024-01-22 02:52:34 -08:00
AUTOMATIC1111
0f2de4cfbe
Merge pull request #14655 from chi2nagisa/lora-alias-fix
[bug] fix using wrong model caused by alias
2024-01-20 10:27:54 +03:00
WebDev
30f31d23c6
Update hotkey_config.py 2024-01-19 16:39:33 -08:00
WebDev
bcdcc8be7d
Update hotkey_config.py 2024-01-19 16:39:07 -08:00
WebDev
4dde96109b
Update zoom.js 2024-01-19 16:38:34 -08:00
chi2nagisa
e280eb4055 fix using wrong model caused by alias 2024-01-16 03:45:19 +08:00
WebDev
39db1d09d1
Update zoom.js 2024-01-14 01:43:23 -08:00
WebDev
92032f2da8
Update hotkey_config.py 2024-01-14 01:42:03 -08:00
WebDev
541881e318
Adjust brush size with hotkeys. 2024-01-13 02:11:06 -08:00
Sj-Si
036500223d Merge changes from dev 2024-01-11 16:37:35 -05:00
Sj-Si
0726a6e12e Finish base layout. Fix bugs. Need to test for stability and clean up. 2024-01-11 15:06:57 -05:00
AUTOMATIC1111
8b6848c6db
Merge pull request #14546 from AUTOMATIC1111/fix-oft-dtype
Fix dtype casting in OFT module
2024-01-06 10:50:38 +03:00
Kohaku-Blueleaf
44744d6005 linting 2024-01-05 16:38:05 +08:00
Kohaku-Blueleaf
18ca987c92 Add general forward method for all modules. 2024-01-05 16:32:19 +08:00
Kohaku-Blueleaf
f8f38c7c28 Fix dtype casting for OFT module 2024-01-05 16:31:48 +08:00
Aarni Koskela
3d31d5c27b SwinIR: pass model.scale 2024-01-03 22:38:49 +02:00
Aarni Koskela
dfdc51246c SwinIR: use prefer_half 2024-01-03 22:38:13 +02:00
Aarni Koskela
cf14a6a7aa Refactor upscale_2 helper out of ScuNET/SwinIR; make sure devices are right 2024-01-02 08:57:12 +02:00
AUTOMATIC1111
5d7d1823af rename infotext.py again, this time to infotext_utils.py; I didn't realize infotext would be used for variable names in multiple places, which makes it awkward to import the module; also fix the bug I caused by this rename that breaks tests 2024-01-01 17:25:30 +03:00
AUTOMATIC1111
d859cec696 infotext.py: rename usages in the codebase 2024-01-01 13:53:12 +03:00
AUTOMATIC1111
f3af8c8d04
Merge pull request #14475 from Learwin/negative_prompt
Adding negative prompts to Loras in extra networks
2023-12-31 22:32:28 +03:00
Learwin
d4945f4422 Removed weight slider for negative prompts 2023-12-31 13:22:30 +01:00
Aarni Koskela
6f86b62a1b Deduplicate tiled inference code from SwinIR/ScuNET 2023-12-31 01:13:30 +02:00
Aarni Koskela
777af661a2 Be more clear about Spandrel model nomenclature 2023-12-31 00:22:58 +02:00
Learwin
a2f23f9d22 Code Style fixes 2023-12-30 22:16:51 +01:00
Learwin
bc5ae74c7d Added negative prompts to extra networks lora 2023-12-30 21:52:27 +01:00
Aarni Koskela
4ad0c0c0a8 Verify architecture for loaded Spandrel models 2023-12-30 16:37:03 +02:00
Aarni Koskela
b0f5934234 Use Spandrel for upscaling and face restoration architectures (aside from GFPGAN and LDSR) 2023-12-30 16:24:01 +02:00
w-e-w
59d060fd5e More lora not found warning 2023-12-30 17:11:03 +09:00
AUTOMATIC1111
93eae69895 move soft inpainting to a built-in extension 2023-12-16 11:00:42 +03:00
Kohaku-Blueleaf
0fb34b57b8 Merge branch 'dev' into test-fp8 2023-12-14 16:54:45 +08:00
AUTOMATIC1111
2be85f8fe0 Merge pull request #14237 from ReneKroon/dev
#13354 : solve lora loading issue
2023-12-14 10:15:36 +03:00
AUTOMATIC1111
b55f09c4e1 Merge pull request #14270 from kaalibro/extra-options-elem-id
Assign id for "extra_options". Replace numeric field with slider.
2023-12-14 10:14:46 +03:00
AUTOMATIC1111
6ef0ff39f2 Merge pull request #14300 from AUTOMATIC1111/oft_fixes
Fix wrong implementation in network_oft
2023-12-14 10:14:19 +03:00
AUTOMATIC1111
778a30a95e
Merge pull request #14237 from ReneKroon/dev
#13354 : solve lora loading issue
2023-12-14 10:08:03 +03:00
AUTOMATIC1111
c5631aa90d
Merge pull request #14270 from kaalibro/extra-options-elem-id
Assign id for "extra_options". Replace numeric field with slider.
2023-12-14 09:46:05 +03:00
Kohaku-Blueleaf
3772a82a70 better naming and correct order for device. 2023-12-14 01:47:13 +08:00
Kohaku-Blueleaf
8fc67f3851 remove debug print 2023-12-14 01:44:49 +08:00
Kohaku-Blueleaf
265bc26c21 Use self.scale instead of custom finalize 2023-12-14 01:43:24 +08:00
Kohaku-Blueleaf
735c9e8059 Fix network_oft 2023-12-14 01:38:32 +08:00
kaalibro
6b8143a84e
Number of columns slider: max count set to 20, add description info 2023-12-10 15:35:06 +06:00
kaalibro
1a79a5049b
Assign id for "extra_options". Replace numeric field with slider in Settings. 2023-12-09 22:35:31 +06:00
Rene Kroon
16bdcce92d #13354: solve lora loading issue 2023-12-08 21:20:55 +01:00
Kohaku-Blueleaf
294ec5ac37 Merge branch 'dev' into test-fp8 2023-12-06 15:16:49 +08:00
AUTOMATIC1111
368d66c9cc add hypertile infotext 2023-12-04 15:56:11 +03:00
AUTOMATIC1111
22e23dbf29 add hypertile infotext 2023-12-04 15:56:03 +03:00
Kohaku-Blueleaf
110485d5bb Merge branch 'dev' into test-fp8 2023-12-02 17:00:09 +08:00
AUTOMATIC1111
7547d7c791
Merge pull request #14126 from aria1th/hypertile-xyz
Support XYZ scripts / split hires path from unet
2023-12-02 09:48:40 +03:00
AUTOMATIC1111
e294e46d46 split UI settings page into many 2023-12-02 09:26:38 +03:00
aria1th
ec78354efa hypertile_xyz: we don't need isnumeric check for AxisOption 2023-11-27 22:25:28 +09:00
aria1th
524d6a4dba fix ruff - set comprehension 2023-11-27 22:13:18 +09:00
aria1th
f207eb7a0d fix ruff in hypertile_xyz.py 2023-11-27 22:11:28 +09:00
aria1th
601a7b4ce5 cache divisors / fix ruff 2023-11-27 22:10:31 +09:00
aria1th
23c36f59b4 Support XYZ scripts / split hires path from unet 2023-11-27 21:10:26 +09:00
Kohaku-Blueleaf
3d341ebc7d Merge branch 'dev' into test-fp8 2023-11-26 17:32:52 +08:00
AUTOMATIC1111
d1750e5eca fix linter errors 2023-11-26 11:37:12 +03:00
AUTOMATIC1111
f85b74763d Merge branch 'hypertile-in-sample' into dev 2023-11-26 11:18:49 +03:00
AUTOMATIC1111
d2e0c1ca13 rework hypertile into a built-in extension 2023-11-26 11:17:38 +03:00
AUTOMATIC1111
3a9bf4ac10 move file 2023-11-26 08:29:12 +03:00
Kohaku-Blueleaf
370a77f8e7 Option for using fp16 weight when apply lora 2023-11-21 19:59:34 +08:00
Kohaku-Blueleaf
b60e1088db Merge branch 'dev' into test-fp8 2023-11-19 15:24:57 +08:00
AUTOMATIC1111
337bc4a2fb
Merge pull request #13014 from AUTOMATIC1111/thread-safe-extranetworks-list_items
thread safe extra network list_items
2023-11-19 09:09:21 +03:00
AUTOMATIC1111
2207ef363a
Merge pull request #13692 from v0xie/network-oft
Support inference with OFT networks
2023-11-19 08:59:09 +03:00
Kohaku-Blueleaf
cd12256575 Merge branch 'dev' into test-fp8 2023-11-16 21:53:13 +08:00
v0xie
eb667e715a feat: LyCORIS/kohya OFT network support 2023-11-15 18:28:48 -08:00
v0xie
d6d0b22e66 fix: ignore calc_scale() for COFT which has very small alpha 2023-11-15 03:08:50 -08:00
AUTOMATIC1111
4d4a9e7332 added compact prompt option 2023-11-05 19:19:55 +03:00
v0xie
bbf00a96af refactor: remove unused function 2023-11-04 14:56:47 -07:00
v0xie
329c8bacce refactor: use same updown for both kohya OFT and LyCORIS diag-oft 2023-11-04 14:54:36 -07:00
v0xie
f6c8201e56 refactor: move factorization to lyco_helpers, separate calc_updown for kohya and kb 2023-11-03 19:35:15 -07:00
v0xie
fe1967a4c4 skip multihead attn for now 2023-11-03 17:52:55 -07:00
v0xie
d727ddfccd no idea what i'm doing, trying to support both type of OFT, kblueleaf diag_oft has MultiheadAttn which kohya's doesn't?, attempt create new module based off network_lora.py, errors about tensor dim mismatch 2023-11-02 00:13:11 -07:00
v0xie
65ccd6305f detect diag_oft type 2023-11-02 00:11:32 -07:00
v0xie
a2fad6ee05 test implementation based on kohaku diag-oft implementation 2023-11-01 22:34:27 -07:00
v0xie
6523edb8a4 style: conform style 2023-10-22 09:31:15 -07:00
v0xie
3b8515d2c9 fix: multiplier applied twice in finalize_updown 2023-10-22 09:27:48 -07:00
v0xie
4a50c9638c refactor: remove used OFT functions 2023-10-22 08:54:24 -07:00
v0xie
de8ee92ed8 fix: use merge_weight to cache value 2023-10-21 17:37:17 -07:00
v0xie
76f5abdbdb style: cleanup oft 2023-10-21 16:07:45 -07:00
v0xie
fce86ab7d7 fix: support multiplier, no forward pass hook 2023-10-21 16:03:54 -07:00
v0xie
7683547728 fix: return orig weights during updown, merge weights before forward 2023-10-21 14:42:24 -07:00
v0xie
2d8c894b27 refactor: use forward hook instead of custom forward 2023-10-21 13:43:31 -07:00
v0xie
0550659ce6 style: fix ambiguous variable name 2023-10-19 13:13:02 -07:00
v0xie
d10c4db57e style: formatting 2023-10-19 12:52:14 -07:00
v0xie
321680ccd0 refactor: fix constraint, re-use get_weight 2023-10-19 12:41:17 -07:00
Kohaku-Blueleaf
7c128bbdac Add fp8 for sd unet 2023-10-19 13:56:17 +08:00
v0xie
eb01d7f0e0 faster by calculating R in updown and using cached R in forward 2023-10-18 04:56:53 -07:00
v0xie
853e21d98e faster by using cached R in forward 2023-10-18 04:27:44 -07:00
v0xie
1c6efdbba7 inference working but SLOW 2023-10-18 04:16:01 -07:00
v0xie
ec718f76b5 wip incorrect OFT implementation 2023-10-17 23:35:50 -07:00
AUTOMATIC1111
4be7b620c2
Merge pull request #13568 from AUTOMATIC1111/lora_emb_bundle
Add lora-embedding bundle system
2023-10-14 12:18:55 +03:00
AUTOMATIC1111
a8cbe50c9f remove duplicated code 2023-10-14 12:17:59 +03:00
v0xie
906d1179e9 support inference with LyCORIS GLora networks 2023-10-11 21:26:58 -07:00
Kohaku-Blueleaf
891ccb767c Fix lint 2023-10-10 15:07:25 +08:00
Kohaku-Blueleaf
81e94de318 Add warning when meet emb name conflicting
Choose standalone embedding (in /embeddings folder) first
2023-10-10 14:44:20 +08:00
Kohaku-Blueleaf
2282eb8dd5 Remove dev debug print 2023-10-10 12:11:00 +08:00
Kohaku-Blueleaf
3d8b1af6be Support string_to_param nested dict
format:
bundle_emb.EMBNAME.string_to_param.KEYNAME
2023-10-10 12:09:33 +08:00