Lincoln Stein
0784e49d92
code cleanup and change default LoRA weight
...
- Remove unused (and probably dangerous) `unload_applied_loras()` method
- Remove unused `LoraManager.loras_to_load` attribute
- Change default LoRA weight to 0.75 when using WebUI to add a LoRA to prompt.
2023-04-06 16:34:22 -04:00
Damian Stewart
09fe21116b
Update shared_invokeai_diffusion.py
...
add line to docs
2023-04-06 11:01:00 +02:00
Lincoln Stein
b185931f84
[Bugfix] Pip - Access is denied durring installation ( #3123 )
...
Now, for python 3.9 installer run upgrade pip command like this:
`pip install --upgrade pip`
And because pip binary locked as running process this lead to error(at
least on windows):
```
ERROR: Could not install packages due to an OSError: [WinError 5] Access is denied: 'e:\invokeai\.venv\scripts\pip.exe'
Check the permissions.
```
To prevent this recomended command to upgrade pip is:
`python -m pip install --upgrade pip`
Which not locking pip file.
2023-04-05 23:50:50 -04:00
Lincoln Stein
1a4d229650
Merge branch 'v2.3' into bugfix/pip-upgrade
2023-04-05 22:44:58 -04:00
Lincoln Stein
e9d2205976
rebuild frontend
2023-04-05 22:03:52 -04:00
Lincoln Stein
4b624dccf0
Merge branch 'feat/lora-support-2.3' of github.com:invoke-ai/InvokeAI into feat/lora-support-2.3
2023-04-05 22:02:01 -04:00
Lincoln Stein
3dffa33097
Merge branch 'v2.3' into feat/lora-support-2.3
2023-04-05 21:59:54 -04:00
Lincoln Stein
ab9756b8d2
[FEATURE] LyCORIS support in 2.3 ( #3118 )
...
Implementation of LyCORIS(extended LoRA), which is 2 formats - LoCon and
LoHa([info1](https://github.com/KohakuBlueleaf/LyCORIS/blob/locon-archive/README.md ),
[info2](https://github.com/KohakuBlueleaf/LyCORIS/blob/main/Algo.md )).
It's works but i found 2 a bit different implementations of forward
function for LoHa. Both works, but I don't know which is better.
2 functions generate same images if remove `self.org_module.weight.data`
addition from LyCORIS implementation, but who's right?
2023-04-05 21:58:56 -04:00
Sergey Borisov
4b74b51ffe
Fix naming
2023-04-06 04:55:10 +03:00
Sergey Borisov
0a020e1c06
Change pip upgrade command
2023-04-06 04:24:25 +03:00
Sergey Borisov
baf60948ee
Update kohya_lora_manager.py
...
Bias parsing, fix LoHa parsing and weight calculation
2023-04-06 01:44:20 +03:00
Lincoln Stein
4e4fa1b71d
[Enhancement] save name of last model to disk whenever model changes ( #3102 )
...
- this allows invokeai to restore the last used model on startup, even
after a crash or keyboard interrupt.
2023-04-05 17:37:10 -04:00
Lincoln Stein
7bd870febb
decrease minimum number of likes to 5
2023-04-05 15:51:58 -04:00
Sergey Borisov
b62cce20b8
Clean up
2023-04-05 20:18:04 +03:00
Sergey Borisov
6a8848b61f
Draft implementation if LyCORIS(LoCon and LoHi)
2023-04-05 17:59:29 +03:00
Lincoln Stein
c8fa01908c
remove app tests
...
- removed app directory (a 3.0 feature), so app tests had to go too
- fixed regular expression in the concepts lib which was causing deprecation warnings
2023-04-04 23:41:26 -04:00
Lincoln Stein
261be4e2e5
adjust debouncing timeout; fix duplicated ti triggers in menu
2023-04-04 23:15:09 -04:00
Lincoln Stein
e0695234e7
bump compel version
2023-04-04 22:47:54 -04:00
Lincoln Stein
cb1d433f30
create loras directory at update time
2023-04-04 22:47:15 -04:00
Lincoln Stein
e3772f674d
sort loras and TIs in case-insensitive fashion
2023-04-04 11:24:10 -04:00
Lincoln Stein
ad5142d6f7
remove nodes app directory
...
- This was inadvertently included in the PR when rebased from main
2023-04-04 06:45:51 -04:00
Lincoln Stein
fc4b76c8b9
change label for HF concepts library option
2023-04-03 16:54:54 -04:00
Lincoln Stein
1e6d804104
Merge branch 'feat/lora-support-2.3' of github.com:invoke-ai/InvokeAI into feat/lora-support-2.3
2023-04-03 16:20:00 -04:00
Lincoln Stein
793488e90a
sort lora list alphabetically
2023-04-03 16:19:30 -04:00
blessedcoolant
11cd8d026f
build: Frontend (Lora Support)
2023-04-04 04:35:19 +12:00
blessedcoolant
25faec8d70
feat(ui): Make HuggingFace Concepts display optional
2023-04-04 04:29:56 +12:00
blessedcoolant
a14fc3ace5
fix: Fix Lora / TI Prompt Interaction
2023-04-04 04:29:13 +12:00
Lincoln Stein
667dee7b22
add scrollbars to textual inversion button menu
2023-04-03 08:39:47 -04:00
Lincoln Stein
f75a20b218
rebuild frontend
2023-04-02 23:34:15 -04:00
Lincoln Stein
8246e4abf2
fix cpu overload issue with TI trigger button
2023-04-02 23:33:21 -04:00
Lincoln Stein
afcb278e66
fix crash when no extra conditioning provided (redux)
2023-04-02 19:43:56 -04:00
Lincoln Stein
0a0e44b51e
fix crash when no extra conditioning provided
2023-04-02 17:13:08 -04:00
Lincoln Stein
d4d3441a52
save name of last model to disk whenever model changes
...
- this allows invokeai to restore the last used model on startup, even
after a crash or keyboard interrupt.
2023-04-02 15:46:39 -04:00
Lincoln Stein
3a0fed2fda
add withLora() readline autocompletion support
2023-04-02 15:35:39 -04:00
blessedcoolant
fad6fc807b
fix(ui): LoraManager UI causing overload
2023-04-02 19:37:47 +12:00
Lincoln Stein
63ecdb19fe
rebuild frontend
2023-04-02 00:34:33 -04:00
Lincoln Stein
d7b2dbba66
limit number of suggested concepts to those with at least 6 likes
2023-04-02 00:31:55 -04:00
Lincoln Stein
16aeb8d640
tweak debugging message for lora unloading
2023-04-01 23:45:36 -04:00
Lincoln Stein
e0bd30b98c
more elegant handling of lora context
2023-04-01 23:41:22 -04:00
Lincoln Stein
90f77c047c
Update ldm/modules/lora_manager.py
...
Co-authored-by: neecapp <ryree0@gmail.com >
2023-04-01 23:24:50 -04:00
Lincoln Stein
941fc2297f
Update ldm/modules/kohya_lora_manager.py
...
Co-authored-by: neecapp <ryree0@gmail.com >
2023-04-01 23:23:49 -04:00
Lincoln Stein
110b067c52
Update ldm/modules/kohya_lora_manager.py
...
Co-authored-by: neecapp <ryree0@gmail.com >
2023-04-01 23:23:29 -04:00
Lincoln Stein
71e4addd10
add debugging to where spinloop is occurring
2023-04-01 23:12:10 -04:00
Lincoln Stein
67435da996
added a button to retrieve textual inversion triggers; but causes high browser load
2023-04-01 22:57:54 -04:00
Lincoln Stein
8518f8c2ac
LoRA alpha can be 0
2023-04-01 17:28:36 -04:00
Lincoln Stein
d3b63ca0fe
detect lora files with .pt suffix
2023-04-01 17:25:54 -04:00
Lincoln Stein
605ceb2e95
add support for loras ending with .pt
2023-04-01 17:12:07 -04:00
Lincoln Stein
b632b35079
remove direct legacy checkpoint rendering capabilities
2023-04-01 17:08:30 -04:00
Lincoln Stein
c9372f919c
moved LoRA manager cleanup routines into a context
2023-04-01 16:49:23 -04:00
Lincoln Stein
acd9838559
Merge branch 'v2.3' into feat/lora-support-2.3
2023-04-01 10:55:22 -04:00