Commit Graph

337 Commits

Author SHA1 Message Date
Kohaku-Blueleaf
1792e193b1 Use correct implementation, fix device error 2024-03-16 23:52:29 +08:00
Kohaku-Blueleaf
851c3d51ed Fix bugs for torch.nn.MultiheadAttention 2024-03-09 12:31:32 +08:00
Kohaku-Blueleaf
12bcacf413 Initial implementation 2024-03-07 13:29:40 +08:00
continue-revolution
7d59b3b564 rm comment 2024-03-06 05:39:17 -06:00
continue-revolution
7f766cd762 Merge branch 'dev' into conrevo/fix-soft-inpaint 2024-03-06 05:33:30 -06:00
continue-revolution
73e635ce6e fix 2024-03-06 05:32:59 -06:00
AUTOMATIC1111
0dc12861ef call script_callbacks.ui_settings_callback earlier; fix extra-options-section built-in extension killing the ui if using a setting that doesn't exist 2024-03-04 15:30:46 +03:00
Aarni Koskela
e3fa46f26f Fix various typos with crate-ci/typos 2024-03-04 08:42:07 +02:00
AUTOMATIC1111
a10c8df876 Merge pull request #14973 from AUTOMATIC1111/Fix-new-oft-boft
Fix the OFT/BOFT bugs when using new LyCORIS implementation
2024-02-26 07:35:28 +03:00
Kohaku-Blueleaf
c4afdb7895
For no constraint 2024-02-22 00:43:32 +08:00
Kohaku-Blueleaf
64179c3221
Update network_oft.py 2024-02-21 22:50:43 +08:00
Kohaku-Blueleaf
591470d86d linting 2024-02-20 17:21:34 +08:00
Kohaku-Blueleaf
a5436a3ac0 Update network_oft.py 2024-02-20 17:20:14 +08:00
AUTOMATIC1111
92ab0ef7d6 Merge pull request #14871 from v0xie/boft
Support inference with LyCORIS BOFT networks
2024-02-19 10:05:44 +03:00
AUTOMATIC1111
6e4fc5e1a8
Merge pull request #14871 from v0xie/boft
Support inference with LyCORIS BOFT networks
2024-02-19 10:05:30 +03:00
Kohaku-Blueleaf
4eb949625c
prevent undefined variable 2024-02-19 14:43:07 +08:00
Kohaku-Blueleaf
5a8dd0c549
Fix rescale 2024-02-18 14:58:41 +08:00
catboxanon
06ab10a1be Normalize cmd arg paths
In particular, this fixes an issue on Windows where some functions
will misbehave if forward slashes are provided rather than
double backslashes.
2024-02-15 14:22:13 -05:00
Kohaku-Blueleaf
90441294db
Add rescale mechanism
LyCORIS will support save oft_blocks instead of oft_diag in the near future (for both OFT and BOFT)

But this means we need to store the rescale if user enable it.
2024-02-12 14:25:09 +08:00
v0xie
eb6f2df826 Revert "fix: add butterfly_factor fn"
This reverts commit 81c16c965e.
2024-02-08 22:00:15 -08:00
v0xie
613b0d9548 doc: add boft comment 2024-02-08 21:58:59 -08:00
v0xie
325eaeb584 fix: get boft params from weight shape 2024-02-08 11:55:05 -08:00
v0xie
2f1073dc6e style: fix lint 2024-02-07 04:55:11 -08:00
v0xie
81c16c965e fix: add butterfly_factor fn 2024-02-07 04:54:14 -08:00
v0xie
a4668a16b6 fix: calculate butterfly factor 2024-02-07 04:51:22 -08:00
v0xie
9588721197 feat: support LyCORIS BOFT 2024-02-07 04:49:17 -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