Ryan Dick
1bbd4f751d
Fixup logic around compatibility of prompt-to-prompt, IP-Adapter, regional prompting.
2024-02-29 12:47:23 -05:00
Ryan Dick
bdf3691ad0
Improve the logic for selecting SDXL pooled embeds when handling multi-region prompts.
2024-02-28 22:14:41 -05:00
Ryan Dick
e7f7ae660d
Raise a clear error message if prompt-to-prompt cross-attention control is triggered when using multiple prompts.
2024-02-28 21:38:25 -05:00
Ryan Dick
e132afb705
Make regional prompting work with sequential conditioning.
2024-02-28 21:21:50 -05:00
Ryan Dick
5f49e7ae26
Move regional prompt concatenation further up the stack. This solves a number of issues.
2024-02-28 20:11:47 -05:00
Ryan Dick
53ebca58ff
Rename ConditioningData to TextConditioningData.
2024-02-28 13:53:56 -05:00
Ryan Dick
ee1b3157ce
Split ip_adapter_conditioning out from ConditioningData.
2024-02-28 13:49:02 -05:00
Ryan Dick
e7ec13f209
Remove scheduler_args from ConditioningData structure.
2024-02-28 12:15:39 -05:00
Ryan Dick
cad3e5dbd7
Remove dead code related to an old symmetry feature.
2024-02-28 11:29:52 -05:00
Ryan Dick
845c4e93ae
Update various comments related to regional prompting, and delete duplicate _preprocess_regional_prompt_mask(...) function.
2024-02-28 10:20:22 -05:00
Ryan Dick
54971afe44
Add symmetric support for regional negative text prompts.
2024-02-27 20:05:02 -05:00
Ryan Dick
cfba51aed5
Removed unused function: _prepare_text_embeddings(...)
2024-02-27 19:23:20 -05:00
Ryan Dick
2966c8de2c
Handle conditioned and unconditioned text conditioning in the same way for regional prompt attention.
2024-02-27 18:16:01 -05:00
Ryan Dick
b0fcbe552e
Tidy invocation interfaces for RectangleMaskInvocation and AddConditioningMaskInvocation.
2024-02-26 17:34:37 -05:00
Ryan Dick
d132fb4818
Get RegionalPromptAttnProcessor2_0 working with a ton of hacks.
2024-02-17 19:56:37 -05:00
Ryan Dick
2d5d370f38
Route masks into the RegionalPromptAttnProcessor2_0 processors.
2024-02-16 19:35:24 -05:00
Ryan Dick
878bbc3527
Add RectangleMaskInvocation.
2024-02-16 18:03:02 -05:00
Ryan Dick
caa690e24d
Add concatenation of multiple text conditioning tensors, and patching of RegionalPromptAttnProcessor2_0 into the UNet.
2024-02-16 17:09:06 -05:00
Ryan Dick
38248b988f
Fix a minor bug in the logic of the IPAttnProcessor2_0. The change won't have any functional effect, since this attention implementation was only being used for cross-attention, but the logic should be correct now in case we wanted to use it for self-attention.
2024-02-16 09:10:47 -05:00
Ryan Dick
ba4788007f
Initialize a RegionalPromptAttnProcessor2_0 class by copying AttnProcessor2_0 from diffusers.
2024-02-15 17:52:44 -05:00
Ryan Dick
ef51005881
Remove unused code for attention map saving.
2024-02-15 17:28:55 -05:00
Ryan Dick
7b0326d7f7
Delete unused functions from shared_invokeai_diffusion.py.
2024-02-15 17:22:37 -05:00
Ryan Dick
f590b39f88
Add support for a list of ConditioningFields in DenoiseLatents.
2024-02-15 14:41:54 -05:00
Ryan Dick
58277c6ada
Add a mask to the ConditioningField primitive type.
2024-02-15 13:53:32 -05:00
Ryan Dick
382fa57f3b
Remove unused constructor declared with typo in name: __int__.
2024-02-14 18:18:58 -05:00
Ryan Dick
ee3abc171d
Merge sequential conditioning and cac conditioning logic to eliminate a bunch of duplication.
2024-02-14 18:17:46 -05:00
Ryan Dick
bf72cee555
Remove outdated comments related to T2I-Adapters and ControlNets.
2024-02-14 17:37:40 -05:00
Ryan Dick
e866e3b19f
Remove use of **kwargs in do_unet_step(...), where full parameter list is known and supported.
2024-02-14 17:37:32 -05:00
Ryan Dick
16e574825c
Fix avoid storing extra conditioning info in two places.
2024-02-14 15:34:15 -05:00
psychedelicious
273994b742
chore: bump diffusers 0.26.2 -> 0.26.3
...
https://github.com/huggingface/diffusers/releases/tag/v0.26.3
This fixes an issue with `DPMSolverSinglestepScheduler` with even numbers of steps.
2024-02-13 08:40:42 -05:00
Hosted Weblate
daa780940b
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
2024-02-13 13:20:30 +11:00
Riccardo Giovanetti
2289680ae1
translationBot(ui): update translation (Italian)
...
Currently translated at 97.2% (1377 of 1416 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
2024-02-13 13:20:30 +11:00
B N
cda85a0637
translationBot(ui): update translation (German)
...
Currently translated at 79.4% (1128 of 1419 strings)
translationBot(ui): update translation (German)
Currently translated at 78.1% (1107 of 1416 strings)
Co-authored-by: B N <berndnieschalk@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/invokeai/web-ui/de/
Translation: InvokeAI/Web UI
2024-02-13 13:20:30 +11:00
psychedelicious
1d9801e7be
fix(ui): add input
el for workflow upload button
...
Need this to select the file
2024-02-13 13:18:31 +11:00
Mary Hipp
3ecb1e580f
update bc button is only ever used in modal context
2024-02-13 13:18:31 +11:00
Mary Hipp
6301e58a2e
move upload button into workflow library modal
2024-02-13 13:18:31 +11:00
SoheilRezaei
5dd552effa
Update 020_INSTALL_MANUAL.md ( #5700 )
...
updated the commands for running InvokeAI local and web server
Co-authored-by: Millun Atluri <Millu@users.noreply.github.com>
2024-02-13 00:36:00 +00:00
Mary Hipp Rogers
25ce505628
exposed field loading state ( #5704 )
...
* remove thunk for receivedOpenApiSchema and use RTK query instead. add loading state for exposed fields
* clean up
* ignore any
* fix(ui): do not log on canceled openapi.json queries
- Rely on RTK Query for the `loadSchema` query by providing a custom `jsonReplacer` in our `dynamicBaseQuery`, so we don't need to manage error state.
- Detect when the query was canceled and do not log the error message in those situations.
* feat(ui): `utilitiesApi.endpoints.loadSchema` -> `appInfoApi.endpoints.getOpenAPISchema`
- Utilities is for server actions, move this to `appInfo` bc it fits better there.
- Rename to match convention for HTTP GET queries.
- Fix inverted logic in the `matchRejected` listener (typo'd this)
---------
Co-authored-by: Mary Hipp <maryhipp@Marys-MacBook-Air.local>
Co-authored-by: psychedelicious <4822129+psychedelicious@users.noreply.github.com>
2024-02-12 18:48:32 -05:00
Millun Atluri
1dd07fb1eb
Updated docs on OpenPose
2024-02-12 11:12:45 -05:00
blessedcoolant
e82c21b5ba
chore: rename DWPose to DW Openpose
2024-02-12 11:12:45 -05:00
blessedcoolant
50b93992cf
cleanup: Remove Openpose Image Processor
2024-02-12 11:12:45 -05:00
blessedcoolant
f8e566d62a
cleanup: unused util functions
2024-02-12 11:12:45 -05:00
blessedcoolant
f588b95c7f
cleanup: remove unused code from the DWPose implementation
2024-02-12 11:12:45 -05:00
blessedcoolant
67daf1751c
fix: lint erros
2024-02-12 11:12:45 -05:00
blessedcoolant
7d80261d47
chore: Add code attribution for the DWPoseDetector
2024-02-12 11:12:45 -05:00
blessedcoolant
67cbfeb33d
feat: Add output image resizing for DWPose
2024-02-12 11:12:45 -05:00
blessedcoolant
f7998b4be0
feat: Add DWPose to Linear UI
2024-02-12 11:12:45 -05:00
blessedcoolant
675c73c94f
fix: ruff lint errors
2024-02-12 11:12:45 -05:00
blessedcoolant
0a27b0379f
feat: Initial implementation of DWPoseDetector
2024-02-12 11:12:45 -05:00
psychedelicious
0ef18b6477
fix(ui): enable lora when recalling
...
Closes #5698
2024-02-12 16:47:46 +11:00