psychedelicious
04b96dd7b4
feat(app): stable default workflows
...
There was a bit of wonk with default workflows. On every app startup, we wiped them all out and recreated them with new IDs. This is a quick-and-dirty way to ensure default workflows are always in sync.
Unfortunately, it also means default workflows are newly-created entities on every app load. Any thumbnails associated to them will be lost (bc they have new IDs), and `updated_at` doesn't work.
This changes makes default workflows stable entities.
The workflows we bundle in the python package in JSON format are still the source of truth for default workflows, but the startup logic that syncs them to the user DB is a bit smarter.
- All bundled workflows have an ID. It is prefixed with "default_" for clarity.
- Any default workflows in the user's DB that are not in the bundled default workflows are deleted from the DB.
- Any bundled default workflows that are not in the user's DB are added to the DB.
- If a default workflow in the user's DB does not match the content of its corresponding bundled workflow, it is updated in the DB.
The end result is that default workflows are still kept in sync for the user, but they don't change their identity.
We may now add thumbnails to default workflows, and sorting by `updated_at` is now meaningful.
2025-03-06 10:57:54 +11:00
psychedelicious
79b2c68853
fix(ui): hide workflow thumbnail for unsaved and default workflows
2025-03-06 10:41:47 +11:00
psychedelicious
aac456527e
refactor(ui): make workflow thumbnail rendering more explicit
2025-03-06 10:41:47 +11:00
psychedelicious
c88b835373
fix(ui): remove unused redux action & selector
2025-03-06 10:41:47 +11:00
Mary Hipp
9da116fd3d
how to only show thumbnail for saved non-default workflows
2025-03-06 10:41:47 +11:00
Mary Hipp
a409aec00f
update schema
2025-03-06 10:41:47 +11:00
Mary Hipp
b0593eda92
ruff
2025-03-06 10:41:47 +11:00
Mary Hipp
9acb24914f
tsc fix
2025-03-06 10:41:47 +11:00
Mary Hipp
ab4433da2f
refactor workflow thumbnails to be separate flow/endpoints
2025-03-06 10:41:47 +11:00
Mary Hipp
d4423aa16f
WIP workflow thumbnails - how to add to redux state?
2025-03-06 10:41:47 +11:00
Ryan Dick
1f6430c1b0
typegen
2025-03-06 10:31:17 +11:00
Ryan Dick
8e28888bc4
Fix SigLipPipeline model size calculation.
2025-03-06 10:31:17 +11:00
Ryan Dick
b6b21dbcbf
Add model selecton fields to the FluxReduxInvocation.
2025-03-06 10:31:17 +11:00
Ryan Dick
7b48ef2264
First pass at frontend integration for FLUX Redux and SigLIP model types.
2025-03-06 10:31:17 +11:00
Ryan Dick
9c542ed655
typegen
2025-03-06 10:31:17 +11:00
Ryan Dick
4c02ba908a
Add support for FLUX Redux masks.
2025-03-06 10:31:17 +11:00
Ryan Dick
82293ae3b2
Add helpful error messages when FLUX Redux starter models are not installed.
2025-03-06 10:31:17 +11:00
Ryan Dick
f1fde792ee
Get FLUX Redux working: model loading and inference.
2025-03-06 10:31:17 +11:00
Ryan Dick
e82393f7ed
Add FLUX Redux to starter models list.
2025-03-06 10:31:17 +11:00
Ryan Dick
d5211a8088
Add FluxRedux model type and probing logic.
2025-03-06 10:31:17 +11:00
Ryan Dick
3b095b5945
Add SigLIP starter model.
2025-03-06 10:31:17 +11:00
Ryan Dick
34959ef573
Add SigLIP model type and probing.
2025-03-06 10:31:17 +11:00
Billy
f2689598c0
Formatting
2025-03-06 09:11:00 +11:00
psychedelicious
0cfd713b93
fix(ui): typo
2025-03-06 08:52:10 +11:00
psychedelicious
45f5d7617a
chore: bump version to v5.7.0
2025-03-06 08:38:59 +11:00
psychedelicious
f49df7d327
chore(ui): update whats new
2025-03-06 08:38:59 +11:00
Linos
87ed0ed48a
translationBot(ui): update translation (Vietnamese)
...
Currently translated at 100.0% (1802 of 1802 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-03-06 08:00:35 +11:00
Riccardo Giovanetti
d445c88e4c
translationBot(ui): update translation (Italian)
...
Currently translated at 98.8% (1782 of 1802 strings)
translationBot(ui): update translation (Italian)
Currently translated at 98.8% (1782 of 1802 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-03-06 08:00:35 +11:00
Riku
c15c43ed2a
translationBot(ui): update translation (German)
...
Currently translated at 67.2% (1212 of 1802 strings)
Co-authored-by: Riku <riku.block@gmail.com >
Translate-URL: https://hosted.weblate.org/projects/invokeai/web-ui/de/
Translation: InvokeAI/Web UI
2025-03-06 08:00:35 +11:00
psychedelicious
c1cf01a038
tests: use dangerously_run_function_in_subprocess to fix configure_torch_cuda_allocator tests
2025-03-06 07:49:35 +11:00
psychedelicious
d193e4f02a
feat(app): log warning instead of raising if PYTORCH_CUDA_ALLOC_CONF is already set
2025-03-06 07:49:35 +11:00
psychedelicious
ec493e30ee
feat(app): make logger a required arg in configure_torch_cuda_allocator
2025-03-06 07:49:35 +11:00
Jonathan
081b931edf
Update util.py
...
Changed string to a literal
2025-03-05 14:39:17 +11:00
Jonathan
8cd7035494
Fixed validation of begin and end steps
...
Fixed logic to match the error message - begin should be <= end.
2025-03-05 14:39:17 +11:00
psychedelicious
ea2320c57b
feat(ui): add button ref image layer empty state to pull bbox
2025-03-05 08:00:20 +11:00
psychedelicious
0ad0016c2d
chore: bump version to v5.7.2rc2
2025-03-04 08:48:28 +11:00
psychedelicious
c2a3c66e49
feat(app): avoid nested cursors in workflow_records service
2025-03-04 08:33:42 +11:00
psychedelicious
c0a0d20935
feat(app): avoid nested cursors in style_preset_records service
2025-03-04 08:33:42 +11:00
psychedelicious
028d8d8ead
feat(app): avoid nested cursors in model_records service
2025-03-04 08:33:42 +11:00
psychedelicious
657095d2e2
feat(app): avoid nested cursors in image_records service
2025-03-04 08:33:42 +11:00
psychedelicious
1c47dc997e
feat(app): avoid nested cursors in board_records service
2025-03-04 08:33:42 +11:00
psychedelicious
a3de6b6165
feat(app): avoid nested cursors in board_image_records service
2025-03-04 08:33:42 +11:00
psychedelicious
e57f0ff055
experiment(app): avoid nested cursors in session_queue service
...
SQLite cursors are meant to be lightweight and not reused. For whatever reason, we reuse one per service for the entire app lifecycle.
This can cause issues where a cursor is used twice at the same time in different transactions.
This experiment makes the session queue use a fresh cursor for each method, hopefully fixing the issue.
2025-03-04 08:33:42 +11:00
Linos
feee4c49a2
translationBot(ui): update translation (Vietnamese)
...
Currently translated at 100.0% (1798 of 1798 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-03-03 14:50:08 +11:00
Riccardo Giovanetti
42e052d6f2
translationBot(ui): update translation (Italian)
...
Currently translated at 98.8% (1777 of 1798 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-03-03 14:50:08 +11:00
psychedelicious
b03e429b26
fix(ui): add missing builder translations
2025-03-03 14:43:23 +11:00
psychedelicious
7399909029
feat(app): use simpler syntax for enqueue_batch threaded execution
2025-03-03 14:40:48 +11:00
psychedelicious
c8aaf5e76b
tidy(app): remove extraneous class attr type annotations
2025-03-03 14:40:48 +11:00
psychedelicious
0cdf7a7048
Revert "experiment(app): simulate very long enqueue operations (15s)"
...
This reverts commit eb6a323d0b70004732de493d6530e08eb5ca8acf.
2025-03-03 14:40:48 +11:00
psychedelicious
41985487d3
Revert "experiment(app): make socketio server ping every 1s"
...
This reverts commit ddf00bf260167092a3bc2afdce1244c6b116ebfb.
2025-03-03 14:40:48 +11:00