Ryan Dick
eeff9d3df5
Fix bug in FLUX T5 Koyha-style LoRA key parsing.
2025-01-23 23:11:55 +00:00
Ryan Dick
d9c1c7d63d
Update FLUX invocations to support LoRAs that modify the T5 text encoder.
2025-01-23 23:11:55 +00:00
Ryan Dick
420f6feef9
Fix typo in DoRALayer.
2025-01-23 23:11:55 +00:00
Ryan Dick
8d09a36c90
WIP - use the PartialLayer instead of ConcatenatedLoRALayer when loading diffusers LoRAs.
2025-01-23 23:11:55 +00:00
Ryan Dick
6f82be4dc4
Add PartialLayer for applying patches to a sub-range of a target weight.
2025-01-23 23:11:55 +00:00
Ryan Dick
9dfbd6a422
Add utils for loading FLUX OneTrainer DoRA models.
2025-01-23 23:11:55 +00:00
Ryan Dick
a10db807ca
Further updates to lora_model_from_flux_diffusers_state_dict() so that it can be re-used for OneTrainer LoRAs.
2025-01-23 23:11:55 +00:00
Ryan Dick
edc0b63612
Add support for LyCoris-style LoRA keys in lora_model_from_flux_diffusers_state_dict(). Previously, it only supported PEFT-style LoRA keys.
2025-01-23 23:11:55 +00:00
Ryan Dick
d44a6b2ca1
Add utils for working with Kohya LoRA keys.
2025-01-23 23:11:55 +00:00
Ryan Dick
0d2c1b9d8f
First draft of DoRALayer. Not tested yet.
2025-01-23 23:11:55 +00:00
Ryan Dick
9952b19c5d
Expand unit tests to test for confusion between FLUX LoRA formats.
2025-01-23 23:11:55 +00:00
Ryan Dick
2335b70dba
Add is_state_dict_likely_in_flux_onetrainer_format() util function.
2025-01-23 23:11:55 +00:00
Ryan Dick
010383faef
Add a test state dict for the OneTrainer DoRA format.
2025-01-23 23:11:55 +00:00
psychedelicious
6efd108481
docs: typo in manual docs install command
...
Thanks to ShaneDK on discord for catching this.
2025-01-23 14:57:22 +11:00
Ryan Dick
f88c1ba0c3
Fix bug with some LoRA variants when applied to a BnB NF4 quantized model. Note the previous commit which added a unit test to trigger this bug.
2025-01-22 09:20:40 +11:00
Ryan Dick
e2f05d0800
Add unit tests for LoKR patch layers. The new tests trigger a bug when LoKR layers are applied to BnB-quantized layers (also impacts several other LoRA variant types).
2025-01-22 09:20:40 +11:00
psychedelicious
83e33a4810
chore: bump version to v5.6.0
v5.6.0
2025-01-21 17:58:47 +11:00
psychedelicious
e635028477
chore(ui): update whats new copy
2025-01-21 17:58:47 +11:00
psychedelicious
b7b8f8a9e5
fix(nodes): remove WithMetadata from non-image-outputting node
2025-01-21 17:58:47 +11:00
psychedelicious
e926d2f24b
fix(nodes): add beta classification to new inpainting support nodes
2025-01-21 17:58:47 +11:00
psychedelicious
ad8885c456
chore(ui): typegen
2025-01-21 17:45:32 +11:00
psychedelicious
cf4c79fe2e
feat(nodes): add PasteImageIntoBoundingBoxInvocation
2025-01-21 17:45:32 +11:00
psychedelicious
e0edfe6c40
feat(nodes): add CropImageToBoundingBoxInvocation
2025-01-21 17:45:32 +11:00
psychedelicious
8a0a37191a
feat(nodes): add GetMaskBoundingBoxInvocation
2025-01-21 17:45:32 +11:00
psychedelicious
7dbd5f150a
feat(nodes): add BoundingBoxField.tuple() to get bbox as PIL tuple
2025-01-21 17:45:32 +11:00
psychedelicious
1ad65ffd53
feat(nodes): re-title "Mask from ID" -> "Mask from Segmented Image"
2025-01-21 17:45:32 +11:00
psychedelicious
14b5c871dc
feat(nodes): simplify MaskFromIDInvocation
2025-01-21 17:45:32 +11:00
psychedelicious
8d2b4e2bf5
feat(nodes): support FLUX, SD3 in ideal_size
2025-01-21 17:45:32 +11:00
psychedelicious
aba70eacab
fix(ui): field handle positioning for non-batch fields
...
Accidentally overwrote some reactflow styles which caused field handles to be positioned differently for non-batch fields. Just a minor visual issue.
2025-01-21 11:49:49 +11:00
Riccardo Giovanetti
4b67175b1b
translationBot(ui): update translation (Italian)
...
Currently translated at 99.1% (1690 of 1704 strings)
Co-authored-by: Riccardo Giovanetti <riccardo.giovanetti@gmail.com >
Translate-URL: https://hosted.weblate.org/projects/invokeai/web-ui/it/
Translation: InvokeAI/Web UI
2025-01-21 09:12:45 +11:00
Hosted Weblate
e3423d1ba8
translationBot(ui): update translation files
...
Updated by "Cleanup translation files" hook in Weblate.
Co-authored-by: Hosted Weblate <hosted@weblate.org >
Translate-URL: https://hosted.weblate.org/projects/invokeai/web-ui/
Translation: InvokeAI/Web UI
2025-01-21 09:12:45 +11:00
Linos
87fb00ff5d
translationBot(ui): update translation (Vietnamese)
...
Currently translated at 100.0% (1697 of 1697 strings)
translationBot(ui): update translation (Vietnamese)
Currently translated at 99.2% (1684 of 1697 strings)
translationBot(ui): update translation (Vietnamese)
Currently translated at 99.7% (1676 of 1681 strings)
translationBot(ui): update translation (Vietnamese)
Currently translated at 99.3% (1670 of 1681 strings)
translationBot(ui): update translation (Vietnamese)
Currently translated at 99.5% (1658 of 1666 strings)
translationBot(ui): update translation (Vietnamese)
Currently translated at 100.0% (1652 of 1652 strings)
Co-authored-by: Linos <linos.coding@gmail.com >
Translate-URL: https://hosted.weblate.org/projects/invokeai/web-ui/vi/
Translation: InvokeAI/Web UI
2025-01-21 09:12:45 +11:00
Riccardo Giovanetti
d99a9ffb72
translationBot(ui): update translation (Italian)
...
Currently translated at 99.3% (1642 of 1652 strings)
Co-authored-by: Riccardo Giovanetti <riccardo.giovanetti@gmail.com >
Translate-URL: https://hosted.weblate.org/projects/invokeai/web-ui/it/
Translation: InvokeAI/Web UI
2025-01-21 09:12:45 +11:00
Hosted Weblate
7964f438dc
translationBot(ui): update translation files
...
Updated by "Cleanup translation files" hook in Weblate.
Co-authored-by: Hosted Weblate <hosted@weblate.org >
Translate-URL: https://hosted.weblate.org/projects/invokeai/web-ui/
Translation: InvokeAI/Web UI
2025-01-21 09:12:45 +11:00
Linos
b130a3a9ee
translationBot(ui): update translation (Vietnamese)
...
Currently translated at 100.0% (1652 of 1652 strings)
Co-authored-by: Linos <linos.coding@gmail.com >
Translate-URL: https://hosted.weblate.org/projects/invokeai/web-ui/vi/
Translation: InvokeAI/Web UI
2025-01-21 09:12:45 +11:00
Riccardo Giovanetti
a6b32160b2
translationBot(ui): update translation (Italian)
...
Currently translated at 99.3% (1642 of 1652 strings)
translationBot(ui): update translation (Italian)
Currently translated at 99.3% (1641 of 1652 strings)
Co-authored-by: Riccardo Giovanetti <riccardo.giovanetti@gmail.com >
Translate-URL: https://hosted.weblate.org/projects/invokeai/web-ui/it/
Translation: InvokeAI/Web UI
2025-01-21 09:12:45 +11:00
psychedelicious
7d110cc9d3
fix(ui): disable dynamic prompts generators pending resolution of infinite recursion issue
...
Dynamic prompts string generators can cause an infinite feedback loop when added to the linear view.
The root cause is how these generators handle "resolving" their collections. They hit the dynamic prompts HTTP API within the view component to get the prompts, then set the batch node's internal state with those values.
When the same generator is rendered in both the node editor view and linear view and the timing is just right, that state update causes an infinite feedback loop between the two components as they respond to the state updates from the other component.
The other generators never store the generated values in the batch node's internal state. The values are "resolved" just-in-time as they are needed.
To fix this, the batch value "resolver" utilities could be made async and hit the API. But there's a problem - the resolver utilities are used within the "are we ready to invoke? are there any problems with the current settings?" redux selectors, which are strictly synchronous. To fix that, we can refactor that "are we ready to invoke?" logic to not use redux selectors, so the whole thing could be async.
It's not a big change but I'm not going to spend time on it at the moment.
So, until I address this, the dynamic prompts generators are disabled.
2025-01-21 09:00:40 +11:00
psychedelicious
82122645e8
refactor(ui): organize special handling for batch field types
2025-01-21 07:17:29 +11:00
psychedelicious
f5c5b73383
fix(ui): string batch nodes' inputs get batch type
2025-01-21 07:17:29 +11:00
psychedelicious
2b2ec67cd6
fix(nodes): allow connection input on string batch nodes
2025-01-21 07:17:29 +11:00
Ryan Dick
66bc225bd3
Add a troubleshooting instructions for the Windows page file issue to the Low-VRAM docs.
2025-01-20 08:58:41 +11:00
psychedelicious
7535d2e188
feat(ui): use translation for load from file buttons
2025-01-20 08:57:42 +11:00
psychedelicious
3dff87aeee
feat(ui): better layout for generator load from file buttons
2025-01-20 08:57:42 +11:00
psychedelicious
b14bf1e0f4
chore(ui): lint
2025-01-20 08:57:42 +11:00
psychedelicious
4fdc6eec9d
feat(ui): support loading from file for string input generators
2025-01-20 08:57:42 +11:00
psychedelicious
180a67d11b
feat(ui): small fontsize on generator textareas
2025-01-20 08:57:42 +11:00
psychedelicious
ec816d3c04
feat(ui): improved dynamicprompts generator
...
- Split into two (random and combinatorial) - lots of fiddly logic to do both in one generator.
- Update to support seeds for random.
2025-01-20 08:57:42 +11:00
psychedelicious
7dcc2dafbc
chore(ui): typegen
2025-01-20 08:57:42 +11:00
psychedelicious
81da5210f0
feat(api): add seed field to dynamicprompts
2025-01-20 08:57:42 +11:00
psychedelicious
eb976a2ab0
feat(ui): add dynamic prompts string generator (WIP)
2025-01-20 08:57:42 +11:00