7b393656de
Update l2i invoke and seamless to support AutoencoderTiny, remove attention processors if no mid_block is detected
2024-03-12 12:00:24 -04:00
43948e0758
feat(ui): add setting for always show image size badge
2024-03-12 18:52:23 +11:00
cc03fcbcb6
style(ui): tweak image dimension badge overlay styles
2024-03-12 18:52:23 +11:00
d1e445fa49
fix(ui): changed to theme tokens
2024-03-12 18:52:23 +11:00
adba8489f2
fix(ui): made changes to avoid overlapping
2024-03-12 18:52:23 +11:00
d919022ba5
fix(ui): fixed requested changes and made the badge display on hover
2024-03-12 18:52:23 +11:00
e076898798
fix(ui): logic to remove badge for small image size
2024-03-12 18:52:23 +11:00
9f19b766a4
feat(ui): Add image size badge to gallery images
2024-03-12 18:52:23 +11:00
4688623711
ci: add missing permission to release workflow
v4.0.0rc1
2024-03-12 10:16:38 +11:00
be951da99d
{release} 4.0.0rc1
2024-03-12 10:05:03 +11:00
9ee2e7ff25
Do not override log_memory_usage when debug logs are enabled. The speed cost of log_memory_usage=True is large. It is common to want debug log without enabling log_memory_usage.
2024-03-12 09:48:50 +11:00
149ff758b9
Run ruff
2024-03-11 15:53:00 -04:00
65d415d5aa
Remove redundant with_suffix call
2024-03-11 15:53:00 -04:00
c74c1927ec
Gracefully error without deleting invokeai.yaml
2024-03-11 15:53:00 -04:00
c454ccc65c
Run ruff
2024-03-11 15:53:00 -04:00
46fd3465ce
Skip list logic if the list only contains primitives
2024-03-11 15:53:00 -04:00
97afa6e2a6
Allow lists of basemodel objects in omegaconf
2024-03-11 15:53:00 -04:00
96730107d1
chore(py): bump mkdocs deps
2024-03-12 02:21:43 +11:00
6a9dede66f
chore: bump app deps
...
- `fastapi-events`: 0.10.1 -> 1.11.0
- `fastapi`: 0.109.2 -> 0.110.0
- `pydantic-settings`: 2.1.0 -> 2.2.1
- `pydantic`: 2.6.1 -> 2.6.3
- `uvicorn`: 0.27.1 -> 0.28.0
2024-03-12 02:21:43 +11:00
8c2ff794d5
fix(nodes): ip adapter uses valid ModelIdentifierField
for image encoder model
...
- Add class method to `ModelIdentifierField` to construct the field from a model config
- Use this to construct a valid IP adapter model field
2024-03-10 17:28:58 -05:00
145bb45858
Remove dead code related to an old symmetry feature.
2024-03-10 00:13:18 -06:00
9376b13435
fix(mm): models lose file extension when syncing
...
We were stripping the file extension from file models when moving them in `_sync_model_path`. For example, `some_model.safetensors` would be moved to `some_model`, which of course breaks things.
Instead of using the model's name as the new path, use the model's path's last segment. This is the same behaviour for directories, but for files, it retains the file extension.
2024-03-10 13:36:09 +11:00
eec82afd89
fix(mm): fix models.yaml
backup filename
...
Was erroneously `models.bak`, now `models.yaml.bak`
2024-03-10 13:36:09 +11:00
c47dbf7258
docs(mm): format docstrings for ModelSearch
2024-03-10 12:09:47 +11:00
92b2e8186a
tidy(mm): simplify types for ModelSearch
...
- Use `set` instead of `Set`
- Methods accept only `Path`s
2024-03-10 12:09:47 +11:00
70a88c6b99
docs(mm): update docstrings for ModelSearch
2024-03-10 12:09:47 +11:00
56e7c04475
tidy(mm): remove extraneous dependencies in model search
...
- `config` is unused
- `stats` is created on instantiation
- `logger` uses the app logger
2024-03-10 12:09:47 +11:00
bd5b43c00d
tidy(mm): ModelSearch cleanup
...
- No need for it to by a pydantic model. Just a class now.
- Remove ABC, it made it hard to understand what was going on as attributes were spread across the ABC and implementation. Also, there is no other implementation.
- Add tests
2024-03-10 12:09:47 +11:00
631e789195
fix(canvas): create masked latents when None
2024-03-10 11:58:41 +11:00
133c90e116
fix(ui): update all components and logic to use enriched ModelIdentifierField
2024-03-10 11:03:38 +11:00
4433b78e59
chore(ui): typegen
2024-03-10 11:03:38 +11:00
daeb766468
feat(api): add ModelIdentifierField to openapi schema
...
- Also add `ProgressImage`
2024-03-10 11:03:38 +11:00
92b0d13d0e
feat(nodes): "ModelField" -> "ModelIdentifierField", add hash/name/base/type
2024-03-10 11:03:38 +11:00
67d26cd633
docs: update CONFIGURATION.md
2024-03-10 10:38:52 +11:00
9e28317a12
docs: add DATABASE.md
2024-03-10 10:38:52 +11:00
5b51ebf1c4
docs: regenerate config docstrings
2024-03-10 10:38:52 +11:00
59228643a9
docs: skip_model_hash
-> model install category, use_memory_db
-> development category
2024-03-10 10:38:52 +11:00
b24657df11
docs: roll back adding examples to config docstrings
...
This isn't a valid docstring syntax and breaks the autogeneration
2024-03-10 10:38:52 +11:00
d4686b7f64
fix(mm): yaml migration fixup
...
- If the metadata yaml has an invalid version, exist the app. If we don't, the app will crawl the models dir and add models to the db without having first parsed `models.yaml`. This should not happen often, as the vast majority of users are on v3.0.0 models.yaml files.
- Fix off-by-one error with models count (need to pop the `__metadata__` stanza
- After a successful migration, rename `models.yaml` to `models.yaml.bak` to prevent the migration logic from re-running on subsequent app startups.
2024-03-09 08:37:45 -06:00
67163c2224
fix(mm): only move model files if necessary
...
The old logic to check if a model needed to be moved relied on the model path being a relative path. Paths are now absolute, causing this check to fail. We then assumed the paths were different and moved the model from its current location to, well, its current location.
Use more resilient method to check if a model should be moved.
2024-03-09 22:58:26 +11:00
f01e81d382
Run ruff
2024-03-08 18:46:17 -05:00
a50e0a4802
use correct key name from yaml
2024-03-08 18:46:17 -05:00
df0a5aa92a
pass config_path to migration path, make sure it uses absolute path
2024-03-08 18:46:17 -05:00
0bd9a0a9ea
Add ability to provide config examples in docs
2024-03-08 16:31:39 -05:00
4ae2cd242e
Update to include remote_api_tokens in the config docs
2024-03-08 16:31:39 -05:00
0696094d95
tests: fix tests
...
The tests were testing deprecated settings (not the settings themselves, just the class's functionality).
2024-03-08 16:31:39 -05:00
fb1ae55010
docs: update CONFIGURATION.md to use autogenerated docs
2024-03-08 16:31:39 -05:00
deb1d4eb14
docs: run script to update config class's docstring
2024-03-08 16:31:39 -05:00
d156fd2093
tests: validate config docstring is current
2024-03-08 16:31:39 -05:00
c41e87160a
scripts: add script to update config docstring
...
- Add script to call config docstring helper function and write the docstring to the file directly
- Add `make` target for this script
2024-03-08 16:31:39 -05:00