Wubbbi
a0be83e370
Update Transformers to 4.34 and fix pad_to_multiple_of
2023-11-10 17:51:59 -05:00
Lincoln Stein
8702a63197
add support for downloading and installing LCM lora diffusers models
2023-11-10 17:51:30 -05:00
psychedelicious
d7f0a7919f
chore(ui): manually update vite to fix security issue in hoisted dep
...
`postcss` is a hoisted dependency of `vite`.
2023-11-10 06:58:22 -08:00
blessedcoolant
356b5a41a9
wip: Add LCMScheduler
2023-11-10 06:54:36 -08:00
Millun Atluri
5cb372e9d0
Merge branch 'main' into remove-deprecated-sdxl-t2i-hack
2023-11-10 11:33:32 +11:00
psychedelicious
f95fe68753
chore(ui): manually bump deps with security issues
2023-11-10 09:50:00 +11:00
psychedelicious
6d33893844
chore(ui): update all deps
2023-11-10 09:50:00 +11:00
psychedelicious
fc53112d8e
chore(ui): remove unused deps
2023-11-10 09:50:00 +11:00
Brandon Rising
41f7aa6ab4
Remove unused import:
2023-11-09 15:06:01 -05:00
Brandon Rising
9bec755198
Upstream diffusers PR was merged, this no longer seems necessary
2023-11-09 15:02:24 -05:00
psychedelicious
2570497d83
fix(installer): fix import of ValidationError
...
It was being imported from a deprecated module
2023-11-10 06:11:15 +11:00
Surisen
5d735a714d
translationBot(ui): update translation (Chinese (Simplified))
...
Currently translated at 100.0% (1219 of 1219 strings)
Co-authored-by: Surisen <zhonghx0804@outlook.com>
Translate-URL: https://hosted.weblate.org/projects/invokeai/web-ui/zh_Hans/
Translation: InvokeAI/Web UI
2023-11-09 10:54:56 -08:00
psychedelicious
6aa87f973e
fix(nodes): create app/shared/
module to prevent circular imports
...
We have a number of shared classes, objects, and functions that are used in multiple places. This causes circular import issues.
This commit creates a new `app/shared/` module to hold these shared classes, objects, and functions.
Initially, only `FreeUConfig` and `FieldDescriptions` are moved here. This resolves a circular import issue with custom nodes.
Other shared classes, objects, and functions will be moved here in future commits.
2023-11-09 16:41:55 +11:00
Kevin Turner
f793fdf3d4
fix(socketio): leave room on unsubscribe
...
https://discord.com/channels/1020123559063990373/1049495067846524939/1171976251704086559
2023-11-09 12:12:32 +11:00
Lincoln Stein
3b363d0258
fix flake8 lint check failures
2023-11-08 16:52:46 -05:00
Lincoln Stein
36e0faea6b
blackify
2023-11-08 16:47:03 -05:00
Lincoln Stein
927f8a66e6
Merge branch 'main' into refactor/model-manager-2
2023-11-08 16:46:08 -05:00
Lincoln Stein
eebc0e7315
Merge branch 'refactor/model-manager-2' of github.com:invoke-ai/InvokeAI into refactor/model-manager-2
2023-11-08 16:45:29 -05:00
Lincoln Stein
6b173cc66f
multiple small stylistic changes requested by reviewers
2023-11-08 16:45:26 -05:00
Lincoln Stein
b4732a7308
Update invokeai/app/services/model_records/model_records_base.py
...
Co-authored-by: Ryan Dick <ryanjdick3@gmail.com>
2023-11-08 13:50:40 -05:00
Lincoln Stein
344a56327a
Update invokeai/app/services/model_records/model_records_base.py
...
Co-authored-by: Ryan Dick <ryanjdick3@gmail.com>
2023-11-08 13:50:01 -05:00
Fattire
2e404b7cca
Fix updater option list numbering
...
Fix updater option list numbering in invokeai_update.py so that they don't go 1, 2, 2, 3. The options themselves work fine.
2023-11-07 19:11:25 -08:00
Millun Atluri
4cfd55936c
run black formatting
2023-11-07 16:06:18 +11:00
Millun Atluri
5c3a27aac6
fixed sorts
2023-11-07 16:03:06 +11:00
Millun Atluri
d573a23090
Moved FreeU Config Import
2023-11-07 15:48:53 +11:00
Lincoln Stein
ce22c0fbaa
sync pydantic and sql field names; merge routes
2023-11-06 18:08:57 -05:00
Kent Keirsey
ff8a8a1963
Merge branch 'main' into feat/nodes/freeu
2023-11-06 09:04:54 -08:00
Kent Keirsey
67f2616d5a
Merge branch 'main' into revert-4923-revert-4914-feat/mix-cnet-t2iadapter
2023-11-06 07:34:51 -08:00
Kent Keirsey
f8f1740668
Set Defaults to 1
2023-11-06 07:11:16 -08:00
Kent Keirsey
e66d0f7372
Merge branch 'main' into feat/nodes/freeu
2023-11-06 05:39:58 -08:00
Lincoln Stein
55f8865524
Merge branch 'main' into refactor/model-manager-2
2023-11-05 21:45:26 -05:00
Lincoln Stein
2d051559d1
fix flake8 complaints
2023-11-05 21:45:08 -05:00
Riccardo Giovanetti
7f650d00de
translationBot(ui): update translation (Italian)
...
Currently translated at 97.7% (1191 of 1219 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
2023-11-05 11:12:33 -08:00
Lincoln Stein
db9cef0092
re-run isort
2023-11-04 23:50:07 -04:00
Lincoln Stein
72c34aea75
added add_model_record and get_model_record to router api
2023-11-04 23:42:44 -04:00
Lincoln Stein
edeea5237b
add sql-based model config store and api
2023-11-04 23:03:26 -04:00
Riccardo Giovanetti
4e6b579526
translationBot(ui): update translation (Italian)
...
Currently translated at 97.6% (1190 of 1219 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
2023-11-05 12:09:20 +11:00
Alexander Eichhorn
6334c4adf5
translationBot(ui): update translation (German)
...
Currently translated at 53.8% (657 of 1219 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
2023-11-05 12:09:20 +11:00
Lincoln Stein
e147379aa7
Merge branch 'main' into main
2023-11-04 17:05:01 -04:00
Lincoln Stein
5a821384d3
fix model-not-found error
2023-11-04 08:24:01 -07:00
Ryan Dick
aa02ebf8f5
Fix model cache gc.collect() condition.
2023-11-04 08:52:10 -04:00
Ryan Dick
fb3d0c4b12
Fix bug in model cache reference count checking.
2023-11-03 13:50:40 -07:00
Ryan Dick
8488ab0134
Reduce frequency that we call gc.collect() in the model cache.
2023-11-03 13:50:40 -07:00
Ryan Dick
875231ed3d
Add reminder to clean up our model cache clearing logic.
2023-11-03 13:50:40 -07:00
Ryan Dick
43b300498f
Remove explicit gc.collect() after transferring models from device to CPU. I'm not sure why this was there in the first place, but it was taking a significant amount of time (up to ~1sec in my tests).
2023-11-03 13:50:40 -07:00
psychedelicious
5b420653f9
feat(ui): show placeholder in refiner collapse instead of hiding it, if no refiner models installed
2023-11-03 14:15:24 +11:00
psychedelicious
3d32ce2b58
fix(ui): hide refiner collapse if refiner not installed
2023-11-03 14:15:24 +11:00
Ryan Dick
e391f3c9a8
Skip torch.nn.Embedding.reset_parameters(...) when loading a text encoder model.
2023-11-02 19:41:33 -07:00
Ryan Dick
6e7a3f0546
(minor) Fix static checks and typo.
2023-11-02 19:20:37 -07:00
Ryan Dick
4a683cc669
Add a app config parameter to control the ModelCache logging behavior.
2023-11-02 19:20:37 -07:00
Ryan Dick
3781e56e57
Add log_memory_usage param to ModelCache.
2023-11-02 19:20:37 -07:00
Ryan Dick
8ff49109a8
Update get_pretty_snapshot_diff(...) to handle None-snapshots.
2023-11-02 19:20:37 -07:00
Ryan Dick
bac2a757e8
Replace deepcopy with a pickle roundtrip in apply_ti(...) to improve speed.
2023-11-02 19:05:24 -07:00
Ryan Dick
fa7f6a6a10
Further tidying of LoRA patching. Revert some changes that didn't end up being important under the constraint that calculations are done on the same device as the model.
2023-11-02 10:03:17 -07:00
Ryan Dick
61b17c475a
Add TODO note about improving _resolve_lora_key(...).
2023-11-02 10:03:17 -07:00
Ryan Dick
379d68f595
Patch LoRA on device when model is already on device.
2023-11-02 10:03:17 -07:00
Ryan Dick
545c811bf1
Remove device and dtype members from LoRAModelRaw, they can too easily get out-of-sync with the underlying layer states.
2023-11-02 10:03:17 -07:00
Ryan Dick
2ba5b44ec4
Remove unused _lora_forward_hook(...).
2023-11-02 10:03:17 -07:00
Ryan Dick
7f4ce518b7
auto-format lora.py
2023-11-02 10:03:17 -07:00
psychedelicious
6c66adcd90
fix(ui): show collapse labels only if not default value
2023-11-01 14:41:13 +11:00
Millun Atluri
584b513038
Remove LowRA from Initial Models
2023-11-01 08:55:06 +11:00
nemuruibai
94055ae54a
translationBot(ui): update translation (Chinese (Simplified))
...
Currently translated at 99.8% (1215 of 1217 strings)
Co-authored-by: nemuruibai <nemuruibai@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/invokeai/web-ui/zh_Hans/
Translation: InvokeAI/Web UI
2023-11-01 05:31:16 +11:00
Alexander Eichhorn
a79c86b901
translationBot(ui): update translation (German)
...
Currently translated at 51.7% (630 of 1217 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
2023-11-01 05:31:16 +11:00
Kent Keirsey
bb68175fd0
Add negative IP Adapter support
2023-10-31 14:30:24 +11:00
Lincoln Stein
9721e1382d
add option to install latest prerelease
2023-10-30 15:49:27 -04:00
psychedelicious
03a64275c6
fix(db): fix deprecated pydantic .json()
method
2023-10-31 04:34:51 +11:00
psychedelicious
55bfadfd0b
fix(nodes): fix DenoiseMaskField.masked_latents_name
...
This optional field needs to have a default of `None`.
2023-10-31 04:18:09 +11:00
Eugene Brodsky
224b09f8fd
Enforce Unix line endings in container ( #4990 )
...
* (fix) enforce Unix (LF) line endings in docker/ directory
* (fix) update docker docs wrt line endings on Windows
* (fix) static check fixes
2023-10-30 12:34:30 -04:00
psychedelicious
95b90d22b5
Merge branch 'main' into bugfix/dont-release-prereleases
2023-10-30 06:04:24 +11:00
Alexander Eichhorn
249618f6b4
translationBot(ui): update translation (German)
...
Currently translated at 40.3% (491 of 1217 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
2023-10-30 05:26:20 +11:00
Fabian Bahl
8109bc5316
translationBot(ui): update translation (German)
...
Currently translated at 40.3% (491 of 1217 strings)
Co-authored-by: Fabian Bahl <fabian98@bahl-netz.de>
Translate-URL: https://hosted.weblate.org/projects/invokeai/web-ui/de/
Translation: InvokeAI/Web UI
2023-10-30 05:26:20 +11:00
Alexander Eichhorn
015cec197b
translationBot(ui): update translation (German)
...
Currently translated at 37.7% (460 of 1217 strings)
translationBot(ui): update translation (German)
Currently translated at 36.4% (444 of 1217 strings)
translationBot(ui): update translation (German)
Currently translated at 36.0% (439 of 1217 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
2023-10-30 05:15:49 +11:00
Fabian Bahl
54b0c4f3c9
translationBot(ui): update translation (German)
...
Currently translated at 37.7% (460 of 1217 strings)
translationBot(ui): update translation (German)
Currently translated at 36.4% (444 of 1217 strings)
translationBot(ui): update translation (German)
Currently translated at 36.4% (443 of 1217 strings)
translationBot(ui): update translation (German)
Currently translated at 36.0% (439 of 1217 strings)
translationBot(ui): update translation (German)
Currently translated at 35.5% (433 of 1217 strings)
Co-authored-by: Fabian Bahl <fabian98@bahl-netz.de>
Translate-URL: https://hosted.weblate.org/projects/invokeai/web-ui/de/
Translation: InvokeAI/Web UI
2023-10-30 05:15:49 +11:00
Jaulustus
60a105103b
translationBot(ui): update translation (German)
...
Currently translated at 36.0% (439 of 1217 strings)
translationBot(ui): update translation (German)
Currently translated at 35.5% (433 of 1217 strings)
Co-authored-by: Jaulustus <jaulustus@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/invokeai/web-ui/de/
Translation: InvokeAI/Web UI
2023-10-30 05:15:49 +11:00
Alexander Eichhorn
67fb2c8129
translationBot(ui): update translation (German)
...
Currently translated at 35.5% (433 of 1217 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
2023-10-30 05:15:49 +11:00
Fabian Bahl
09bb61f630
translationBot(ui): update translation (English)
...
Currently translated at 100.0% (1217 of 1217 strings)
Co-authored-by: Fabian Bahl <fabian98@bahl-netz.de>
Translate-URL: https://hosted.weblate.org/projects/invokeai/web-ui/en/
Translation: InvokeAI/Web UI
2023-10-30 05:15:49 +11:00
Gohsuke Shimada
69ba3a7278
translationBot(ui): update translation (Japanese)
...
Currently translated at 56.1% (683 of 1217 strings)
translationBot(ui): update translation (Japanese)
Currently translated at 40.3% (491 of 1217 strings)
Co-authored-by: Gohsuke Shimada <ghoskay@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/invokeai/web-ui/ja/
Translation: InvokeAI/Web UI
2023-10-30 05:15:49 +11:00
Riccardo Giovanetti
6e05292813
translationBot(ui): update translation (Italian)
...
Currently translated at 97.6% (1188 of 1217 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
2023-10-30 05:15:49 +11:00
psychedelicious
859e3d5a61
chore: flake8
2023-10-30 01:49:10 +11:00
Lincoln Stein
4f74549f17
prevent prereleases from showing up in updater
2023-10-27 19:12:48 -04:00
Lincoln Stein
d946cb78e6
Merge branch 'main' into bugfix/merge-script-display-correct-model-bases
2023-10-24 17:20:36 -04:00
Lincoln Stein
5c9046580f
Merge branch 'main' into bugfix/textual-inversion
2023-10-24 14:17:43 -04:00
Lincoln Stein
d397e80e0d
Merge branch 'main' into bugfix/merge-script-display-correct-model-bases
2023-10-24 14:17:19 -04:00
Lincoln Stein
6cbc69f3b7
support conversion of controlnets from safetensors to diffusers
2023-10-23 22:06:10 -04:00
Lincoln Stein
c14aa30956
fix the merge script to correctly display models sorted by base
2023-10-23 20:37:33 -04:00
Lincoln Stein
3546c41f4a
close #4975
2023-10-23 18:48:14 -04:00
psychedelicious
df4dab53a8
Merge remote-tracking branch 'origin/main' into fix/nodes/fix-generation-mode
2023-10-20 16:23:13 +11:00
psychedelicious
8615d53e65
fix(nodes): fix missing generation modes
...
Lax typing on the metadata util functions allowed a typing issue to slip through. Fixed the lax typing, updated core metadata node.
2023-10-20 16:22:56 +11:00
Dennis
eeeb5dc451
translationBot(ui): update translation (Dutch)
...
Currently translated at 99.9% (1216 of 1217 strings)
Co-authored-by: Dennis <dennis@vanzoerlandt.nl>
Translate-URL: https://hosted.weblate.org/projects/invokeai/web-ui/nl/
Translation: InvokeAI/Web UI
2023-10-20 15:18:51 +11:00
psychedelicious
824702de99
feat(nodes): change expected structure for custom nodes
2023-10-20 14:28:16 +11:00
psychedelicious
8604943e89
feat(nodes): simple custom nodes
...
Custom nodes may be places in `$INVOKEAI_ROOT/nodes/` (configurable with `custom_nodes_dir` option).
On app startup, an `__init__.py` is copied into the custom nodes dir, which recursively loads all python files in the directory as modules (files starting with `_` are ignored). The custom nodes dir is now a python module itself.
When we `from invocations import *` to load init all invocations, we load the custom nodes dir, registering all custom nodes.
2023-10-20 14:28:16 +11:00
psychedelicious
b7f63a4065
fix(ui): fix canvas color picker when value is zero
...
good ol' zero is false-y
2023-10-19 23:13:35 -04:00
psychedelicious
dcd11327c1
fix(db): remove unused, commented out methods
2023-10-20 12:05:13 +11:00
psychedelicious
c071262c20
fix(ui): remove getMetadataFromFile query & util
...
This will all be handled by python going forward
2023-10-20 12:05:13 +11:00
psychedelicious
2f4f83280b
fix(db): remove extraneous conflict handling in workflow image records
2023-10-20 12:05:13 +11:00
psychedelicious
301a8fef92
fix(ui): fix batch metadata logic when graph has no metadata
...
On canvas, images have no metadata yet, so this needs to be handled
2023-10-20 12:05:13 +11:00
psychedelicious
52fbd1b222
fix(ui): remove errant comment
2023-10-20 12:05:13 +11:00
psychedelicious
16dacb5f43
fix(nodes): remove constraints on ip adapter metadata fields
2023-10-20 12:05:13 +11:00
psychedelicious
b5940039f3
chore: lint
2023-10-20 12:05:13 +11:00
psychedelicious
9104979943
chore(ui): regen types
2023-10-20 12:05:13 +11:00