e11af7de9b
feat(nodes): export more things from `invocation_api"
2024-03-01 10:42:33 +11:00
95dd5aad16
feat(nodes): add boards interface to invocation context
2024-03-01 10:42:33 +11:00
4ce21087d3
fix(nodes): restore type annotations for InvocationContext
2024-03-01 10:42:33 +11:00
281c334531
feat(nodes): do not freeze InvocationContextData, prevents it from being subclassesd
2024-03-01 10:42:33 +11:00
282b483d14
feat: tweak pyright config
2024-03-01 10:42:33 +11:00
a466f7a94b
feat(nodes): create invocation_api.py
...
This is the public API for invocations.
Everything a custom node might need should be re-exported from this file.
2024-03-01 10:42:33 +11:00
05fb485d33
feat(nodes): move ConditioningFieldData
to conditioning_data.py
2024-03-01 10:42:33 +11:00
6452c706e1
tests: fix missing arg for InvocationContext
2024-03-01 10:42:33 +11:00
f612a96afd
feat(nodes): restore previous invocation context methods with deprecation warnings
2024-03-01 10:42:33 +11:00
9af0553652
chore: ruff
2024-03-01 10:42:33 +11:00
1616974b48
feat(nodes): tidy invocation_context.py
, improve comments
2024-03-01 10:42:33 +11:00
ef27283569
tests: fix tests for new invocation context
2024-03-01 10:42:33 +11:00
a79a450e9d
docs: update INVOCATIONS.md
2024-03-01 10:42:33 +11:00
8637c40661
feat(nodes): update all invocations to use new invocation context
...
Update all invocations to use the new context. The changes are all fairly simple, but there are a lot of them.
Supporting minor changes:
- Patch bump for all nodes that use the context
- Update invocation processor to provide new context
- Minor change to `EventServiceBase` to accept a node's ID instead of the dict version of a node
- Minor change to `ModelManagerService` to support the new wrapped context
- Fanagling of imports to avoid circular dependencies
2024-03-01 10:42:33 +11:00
9bc2d09889
feat: add pyright config
...
I was having issues with mypy bother over- and under-reporting certain problems. I've added a pyright config.
2024-03-01 10:42:33 +11:00
3d98446d5d
feat(nodes): restricts invocation context power
...
Creates a low-power `InvocationContext` with simplified methods and data.
See `invocation_context.py` for detailed comments.
2024-03-01 10:42:33 +11:00
992b02aa65
tidy(nodes): move all field things to fields.py
...
Unfortunately, this is necessary to prevent circular imports at runtime.
2024-03-01 10:42:33 +11:00
8989a6cdc6
Get multi-prompt attention working simultaneously with IP-adapter.
2024-02-29 14:54:13 -05:00
f44d3da9b1
Add CustomAttnProcessor2_0 class with simultaneous support for IP-Adapter and regional prompting.
2024-02-29 12:48:55 -05:00
1bbd4f751d
Fixup logic around compatibility of prompt-to-prompt, IP-Adapter, regional prompting.
2024-02-29 12:47:23 -05:00
63ab5ff5a2
translationBot(ui): update translation (Russian)
...
Currently translated at 98.3% (1398 of 1422 strings)
Co-authored-by: Васянатор <ilabulanov339@gmail.com >
Translate-URL: https://hosted.weblate.org/projects/invokeai/web-ui/ru/
Translation: InvokeAI/Web UI
2024-02-29 23:27:36 +11:00
9a8a9c5848
translationBot(ui): update translation (Italian)
...
Currently translated at 98.0% (1441 of 1470 strings)
Co-authored-by: Samantha Morello <tildsart@gmail.com >
Translate-URL: https://hosted.weblate.org/projects/invokeai/web-ui/it/
Translation: InvokeAI/Web UI
2024-02-29 23:27:36 +11:00
1a3ffb6e94
translationBot(ui): update translation (German)
...
Currently translated at 80.4% (1183 of 1470 strings)
Co-authored-by: Alexander Eichhorn <pfannkuchensack@einfach-doof.de >
Translate-URL: https://hosted.weblate.org/projects/invokeai/web-ui/de/
Translation: InvokeAI/Web UI
2024-02-29 23:27:36 +11:00
bdf3691ad0
Improve the logic for selecting SDXL pooled embeds when handling multi-region prompts.
2024-02-28 22:14:41 -05:00
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
e132afb705
Make regional prompting work with sequential conditioning.
2024-02-28 21:21:50 -05:00
5f49e7ae26
Move regional prompt concatenation further up the stack. This solves a number of issues.
2024-02-28 20:11:47 -05:00
53ebca58ff
Rename ConditioningData to TextConditioningData.
2024-02-28 13:53:56 -05:00
ee1b3157ce
Split ip_adapter_conditioning out from ConditioningData.
2024-02-28 13:49:02 -05:00
e7ec13f209
Remove scheduler_args from ConditioningData structure.
2024-02-28 12:15:39 -05:00
cad3e5dbd7
Remove dead code related to an old symmetry feature.
2024-02-28 11:29:52 -05:00
845c4e93ae
Update various comments related to regional prompting, and delete duplicate _preprocess_regional_prompt_mask(...) function.
2024-02-28 10:20:22 -05:00
54971afe44
Add symmetric support for regional negative text prompts.
2024-02-27 20:05:02 -05:00
cfba51aed5
Removed unused function: _prepare_text_embeddings(...)
2024-02-27 19:23:20 -05:00
2966c8de2c
Handle conditioned and unconditioned text conditioning in the same way for regional prompt attention.
2024-02-27 18:16:01 -05:00
b0fcbe552e
Tidy invocation interfaces for RectangleMaskInvocation and AddConditioningMaskInvocation.
2024-02-26 17:34:37 -05:00
3a09bceea4
Update communityNodes.md
...
Updated description of metadata nodes
2024-02-26 14:20:09 -05:00
2ec6b51d8b
translationBot(ui): update translation (Italian)
...
Currently translated at 97.2% (1430 of 1470 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-26 17:41:00 +11:00
34b0ea20dc
translationBot(ui): update translation (German)
...
Currently translated at 80.3% (1181 of 1470 strings)
translationBot(ui): update translation (German)
Currently translated at 80.1% (1178 of 1470 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-26 17:41:00 +11:00
9986fce1a6
translationBot(ui): update translation (German)
...
Currently translated at 80.0% (1176 of 1470 strings)
Co-authored-by: Alexander Eichhorn <pfannkuchensack@einfach-doof.de >
Translate-URL: https://hosted.weblate.org/projects/invokeai/web-ui/de/
Translation: InvokeAI/Web UI
2024-02-23 07:57:15 +11:00
228f1d7f62
translationBot(ui): update translation (Italian)
...
Currently translated at 95.6% (1406 of 1470 strings)
translationBot(ui): update translation (Italian)
Currently translated at 93.9% (1381 of 1470 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-23 07:57:15 +11:00
01a6378dc1
translationBot(ui): update translation (German)
...
Currently translated at 78.8% (1159 of 1470 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-23 07:57:15 +11:00
e01769294f
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-20 22:33:03 +11:00
16aa261e28
updated tooltip popovers ( #5751 )
...
## What type of PR is this? (check all applicable)
- [ ] Refactor
- [ ] Feature
- [ ] Bug Fix
- [X] Optimization
- [ ] Documentation Update
- [ ] Community Node Submission
## Have you discussed this change with the InvokeAI team?
- [X] Yes
- [ ] No, because:
## Have you updated all relevant documentation?
- [ ] Yes
- [ ] No
## Description
Added new tooltip popovers and updated copy of existing ones
## Related Tickets & Documents
<!--
For pull requests that relate or close an issue, please include them
below.
For example having the text: "closes #1234 " would connect the current
pull
request to issue 1234. And when we merge the pull request, Github will
automatically close the issue.
-->
- Related Issue #
- Closes #
## QA Instructions, Screenshots, Recordings
<!--
Please provide steps on how to test changes, any hardware or
software specifications as well as any other pertinent information.
-->
## Merge Plan
<!--
A merge plan describes how this PR should be handled after it is
approved.
Example merge plans:
- "This PR can be merged when approved"
- "This must be squash-merged when approved"
- "DO NOT MERGE - I will rebase and tidy commits before merging"
- "#dev-chat on discord needs to be advised of this change when it is
merged"
A merge plan is particularly important for large PRs or PRs that touch
the
database in any way.
-->
## Added/updated tests?
- [ ] Yes
- [ ] No : _please replace this line with details on why tests
have not been included_
## [optional] Are there any post deployment tasks we need to perform?
2024-02-19 13:12:47 -05:00
1dabf18d14
Merge branch 'main' into chainchompa/tooltip-popovers
2024-02-19 13:04:15 -05:00
115d92b1ae
updated copy
2024-02-19 12:50:35 -05:00
f0d4c71960
updated tooltip popovers
2024-02-19 12:50:11 -05:00
3e48edda6f
add latent-upscale to communityNodes.md ( #5728 )
...
Adds the 'latent upscale' community node
2024-02-19 16:53:35 +00:00
716b584f03
translationBot(ui): update translation (Italian)
...
Currently translated at 97.1% (1384 of 1424 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-19 08:18:33 +11:00
d132fb4818
Get RegionalPromptAttnProcessor2_0 working with a ton of hacks.
2024-02-17 19:56:37 -05:00