Ryan Dick
0e632dbc5c
(minor) typo
2025-02-28 21:39:09 +00:00
Ryan Dick
a36a627f83
Switch from use_cuda_malloc flag to a general pytorch_cuda_alloc_conf config field that allows full customization of the CUDA allocator.
2025-02-28 21:39:09 +00:00
Ryan Dick
b31c71f302
Simplify is_torch_cuda_malloc_enabled() implementation and add unit tests.
2025-02-28 21:39:09 +00:00
Ryan Dick
5302d4890f
Add use_cuda_malloc config option.
2025-02-28 21:39:09 +00:00
Ryan Dick
766b752572
Add utils for configuring the torch CUDA allocator.
2025-02-28 21:39:09 +00:00
Ryan Dick
1e2c7c51b5
Move load_custom_nodes() to run_app() entrypoint.
2025-02-28 20:54:26 +00:00
Ryan Dick
da2b6815ac
Make InvokeAILogger an inline import in startup_utils.py in response to review comment.
2025-02-28 20:10:24 +00:00
Ryan Dick
68d14de3ee
Split run_app.py and api_app.py so that api_app.py is more narrowly responsible for just initializing the FastAPI app. This also gives clearer control over the order of the initialization steps, which will be important as we add planned torch configurations that must be applied before torch is imported.
2025-02-28 20:10:24 +00:00
Ryan Dick
38991ffc35
Add register_mime_types() startup util.
2025-02-28 20:10:24 +00:00
Ryan Dick
f345c0fabc
Create an apply_monkeypatches() start util.
2025-02-28 20:10:24 +00:00
Ryan Dick
ca23b5337e
Simplify port selection logic to avoid the need for a global port variable.
2025-02-28 20:10:19 +00:00
Ryan Dick
35910d3952
Move check_cudnn() and jurigged setup to startup_utils.py.
2025-02-28 20:08:53 +00:00
Ryan Dick
6f1dcf385b
Move find_port() util to its own file.
2025-02-28 20:08:53 +00:00
psychedelicious
84c9ecc83f
chore: bump version to v5.7.1
2025-02-28 13:23:30 -05:00
Thomas Bolteau
52aa839b7e
translationBot(ui): update translation (French)
...
Currently translated at 99.1% (1782 of 1797 strings)
Co-authored-by: Thomas Bolteau <thomas.bolteau50@gmail.com >
Translate-URL: https://hosted.weblate.org/projects/invokeai/web-ui/fr/
Translation: InvokeAI/Web UI
2025-02-28 17:07:11 +11:00
Hiroto N
316ed1d478
translationBot(ui): update translation (Japanese)
...
Currently translated at 42.6% (766 of 1797 strings)
Co-authored-by: Hiroto N <hironow365@gmail.com >
Translate-URL: https://hosted.weblate.org/projects/invokeai/web-ui/ja/
Translation: InvokeAI/Web UI
2025-02-28 17:07:11 +11:00
Hosted Weblate
3519e8ae39
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-02-28 17:07:11 +11:00
psychedelicious
82f645c7a1
feat(ui): add new workflow button to library menu
2025-02-28 16:06:02 +11:00
psychedelicious
cc36cfb617
feat(ui): reorg workflow menu buttons
2025-02-28 16:06:02 +11:00
psychedelicious
ded8a84284
feat(ui): increase spacing in form builder view mode
2025-02-28 16:06:02 +11:00
psychedelicious
94771ea626
feat(ui): add auto-links to text, heading, field description and workflow descriptions
2025-02-28 16:06:02 +11:00
psychedelicious
51d661023e
Revert "feat(ui): increase spacing in form builder view mode"
...
This reverts commit 3766a3ba1e082f31bce09f794c47eb95cd76f1b1.
2025-02-28 16:06:02 +11:00
psychedelicious
d215829b91
feat(ui): increase spacing in form builder view mode
2025-02-28 16:06:02 +11:00
psychedelicious
fad6c67f01
fix(ui): workflow description cut off
2025-02-28 16:06:02 +11:00
psychedelicious
f366640d46
fix(ui): invoke button not showing loading indicator on canvas tab
...
On the Canvas tab, when we made the network request to enqueue a batch, we were immediately resetting the request. This effectively disabled RTKQ's tracking of the request - including the loading state.
As a result, when you click the Invoke button on the Canvas tab, it didn't show a spinner, and it was not clear that anything was happening.
The solution is simple - just await the enqueue request before resetting the tracking, same as we already did on the workflows and upscaling tabs.
I also added some extra logging messages for enqueuing, so we get the same JS console logs for each tab on success or failure.
2025-02-28 15:58:17 +11:00
skunkworxdark
36a3fba8cb
Update metadata_linked.py
...
Fix input type of default_value on MetadataToFloatInvocation
2025-02-27 04:55:29 -05:00
psychedelicious
b2ff83092f
fix(ui): form element settings obscured by container
2025-02-27 14:49:52 +11:00
psychedelicious
d2db38a5b9
chore(ui): update whats new
2025-02-27 13:01:07 +11:00
psychedelicious
fa988a6273
chore: bump version to v5.7.0
2025-02-27 13:01:07 +11:00
HAL
149f60946c
translationBot(ui): update translation (Japanese)
...
Currently translated at 37.7% (680 of 1801 strings)
Co-authored-by: HAL <HALQME@users.noreply.hosted.weblate.org >
Translate-URL: https://hosted.weblate.org/projects/invokeai/web-ui/ja/
Translation: InvokeAI/Web UI
2025-02-27 12:42:03 +11:00
Hiroto N
ee9d620a36
translationBot(ui): update translation (Japanese)
...
Currently translated at 40.3% (727 of 1801 strings)
translationBot(ui): update translation (Japanese)
Currently translated at 37.7% (680 of 1801 strings)
Co-authored-by: Hiroto N <hironow365@gmail.com >
Translate-URL: https://hosted.weblate.org/projects/invokeai/web-ui/ja/
Translation: InvokeAI/Web UI
2025-02-27 12:42:03 +11:00
psychedelicious
4e8ce4abab
feat(app): more detailed messages when loading custom nodes
2025-02-27 12:39:37 +11:00
psychedelicious
d40f2fa37c
feat(app): improved custom load loading ordering
...
Previously, custom node loading occurred _during module imports_. A consequence of this is that when a custom node import fails (e.g. its type clobbers an existing node), the app fails to start up.
In fact, any time we import basically anything from the app, we trigger custom node imports! Not good.
This logic is now in its own function, called as the API app starts up.
If a custom node load fails for any reason, it no longer prevents the app from starting up.
One other bonus we get from this is that we can now ensure custom nodes are loaded _after_ core nodes.
Any clobbering that may occur while loading custom nodes is now guaranteed to be a custom node clobbering a core node's type - and not the other way round.
2025-02-27 12:39:37 +11:00
psychedelicious
933f4f6857
feat(app): improve error messages when registering invocations and they clobber
2025-02-27 12:39:37 +11:00
psychedelicious
f499b2db7b
feat(app): add get_invocation_for_type method to BaseInvocation
2025-02-27 12:39:37 +11:00
psychedelicious
706aaf7460
tidy(app): remove unused variable
2025-02-27 12:39:37 +11:00
psychedelicious
4a706d00bb
feat(app): use generic for append_list util
2025-02-27 12:28:00 +11:00
psychedelicious
2a8bff601f
chore(ui): typegen
2025-02-27 12:28:00 +11:00
psychedelicious
3f0e3192f6
chore(app): mark metadata_field_extractor as deprecated
2025-02-27 12:28:00 +11:00
psychedelicious
c65147e2ff
feat(app): adopt @skunkworxdark's popular metadata nodes
...
Thank you!
2025-02-27 12:28:00 +11:00
psychedelicious
1c14e257a3
feat(app): do not pull PIL image from disk in image primitive
2025-02-27 12:19:27 +11:00
psychedelicious
fe24217082
fix(ui): image usage checks collection fields
...
When deleting a board w/ images, the image usage checking logic was not checking image collection fields. This could result in a nonexistent image lingering in a node.
We already handle single image fields correctly, it's only the image collection fields taht were affected.
2025-02-27 10:24:59 +11:00
psychedelicious
aee847065c
revert(ui): images from board generator only works on boards
2025-02-27 10:19:13 +11:00
psychedelicious
525da3257c
chore(ui): typegen
2025-02-27 10:19:13 +11:00
psychedelicious
559654f0ca
revert(app): get_all_board_image_names_for_board requires board_id
2025-02-27 10:19:13 +11:00
Eugene Brodsky
5d33874d58
fix(backend): ValuesToInsertTuple.retried_from_item_id should be an int
2025-02-27 07:35:41 +11:00
Mary Hipp
0063315139
fix(api): add new args to all uses of get_all_board_image_names_for_board
2025-02-26 15:05:40 -05:00
psychedelicious
1cbd609860
chore: bump version to v5.7.0rc2
2025-02-26 21:04:23 +11:00
psychedelicious
047c643295
tidy(app): document & clean up batch prep logic
2025-02-26 21:04:23 +11:00
psychedelicious
d1e03aa1c5
tidy(app): remove timing debug logs
2025-02-26 21:04:23 +11:00