psychedelicious
813e679b77
feat: add hf_login util
...
This provides a simple way to provide a HF token. If HF reports no valid token, one is prompted for until a valid token is provided, or the user presses Ctrl + C to cancel.
2024-03-20 15:05:25 +11:00
psychedelicious
857e9c9b5f
feat: add SuppressOutput util
...
This context manager suppresses/hides stdout.
2024-03-20 15:05:25 +11:00
psychedelicious
5c1aa02e7b
fix(config): set default legacy_conf_dir to configs
...
It was `configs/stable-diffusion` before, which broke conversions.
2024-03-20 15:05:25 +11:00
psychedelicious
6e882d3fd6
feat(config): dynamic ram cache size
...
Use the util function to calculate ram cache size on startup. This way, the `ram` setting will always be optimized for a system, even if they add or remove RAM. In other words, the default value is now dynamic.
2024-03-20 15:05:25 +11:00
psychedelicious
fabef8b45b
feat(mm): download upscaling & lama models as they are requested
2024-03-20 15:05:25 +11:00
psychedelicious
97f16b2b7e
fix(ui): fix model install progress display
2024-03-20 15:05:25 +11:00
dunkeroni
609c2c0abf
Fix: progress image preview for inpainting
2024-03-20 13:36:05 +11:00
dunkeroni
fe5fa7f8cc
chore: make ruff
2024-03-20 13:36:05 +11:00
dunkeroni
8b30cbe81e
chore: clean up old code comments
2024-03-20 13:36:05 +11:00
dunkeroni
2af9286345
fix: denoise mask incorectly applied after step
2024-03-20 13:36:05 +11:00
psychedelicious
29b04b7e83
chore: bump nodes versions
...
Bump all nodes in prep for v4.0.0.
2024-03-20 10:28:07 +11:00
Mary Hipp
39fa8874fc
undo
2024-03-20 10:05:46 +11:00
Mary Hipp
4e245e9331
fix refiner metadata
2024-03-20 10:05:46 +11:00
Lincoln Stein
74a51571a0
Fix race condition causing hangs during model install unit tests ( #5994 )
...
* fix race condition causing hangs during model install unit tests
* remove extraneous sanity checks
---------
Co-authored-by: Lincoln Stein <lstein@gmail.com >
2024-03-19 20:54:49 +00:00
Lincoln Stein
c87497fd54
record model_variant in t2i and clip_vision configs ( #5989 )
...
- Move base of t2i and clip_vision config models to DiffusersBase, which contains
a field to record the model variant (e.g. "fp16")
- This restore the ability to load fp16 t2i and clip_vision models
- Also add defensive coding to load the vanilla model when the fp16 model
has been replaced (or more likely, user's preferences changed since installation)
Co-authored-by: Lincoln Stein <lstein@gmail.com >
2024-03-19 20:14:12 +00:00
psychedelicious
3f61c51c3a
fix(ui): model list refreshes after changes
...
When consolidating all the model queries I messed up the query tags. Fixed now, so that when a model is installed, removed, or changed, the list refreshes.
2024-03-20 06:25:57 +11:00
Васянатор
07c9c0b0ab
translationBot(ui): update translation (Russian)
...
Currently translated at 99.5% (1091 of 1096 strings)
Co-authored-by: Васянатор <ilabulanov339@gmail.com >
Translate-URL: https://hosted.weblate.org/projects/invokeai/web-ui/ru/
Translation: InvokeAI/Web UI
2024-03-19 22:34:53 +11:00
Gohsuke Shimada
2322d3cbbe
translationBot(ui): update translation (Japanese)
...
Currently translated at 52.5% (576 of 1096 strings)
translationBot(ui): update translation (Japanese)
Currently translated at 52.0% (570 of 1096 strings)
Co-authored-by: Gohsuke Shimada <ghoskay@gmail.com >
Translate-URL: https://hosted.weblate.org/projects/invokeai/web-ui/ja/
Translation: InvokeAI/Web UI
2024-03-19 22:34:53 +11:00
Riccardo Giovanetti
419ce02aae
translationBot(ui): update translation (Italian)
...
Currently translated at 98.2% (1077 of 1096 strings)
translationBot(ui): update translation (Italian)
Currently translated at 98.2% (1077 of 1096 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-03-19 22:34:53 +11:00
Hosted Weblate
629ccd059e
translationBot(ui): update translation files
...
Updated by "Cleanup translation files" hook in Weblate.
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-03-19 22:34:53 +11:00
Васянатор
2dfa51c2e5
translationBot(ui): update translation (Russian)
...
Currently translated at 99.0% (1518 of 1533 strings)
translationBot(ui): update translation (Russian)
Currently translated at 99.0% (1518 of 1533 strings)
Co-authored-by: Васянатор <ilabulanov339@gmail.com >
Translate-URL: https://hosted.weblate.org/projects/invokeai/web-ui/ru/
Translation: InvokeAI/Web UI
2024-03-19 22:34:53 +11:00
Sufi2425
edde0fe174
translationBot(ui): update translation (Bulgarian)
...
Currently translated at 3.9% (61 of 1533 strings)
translationBot(ui): update translation (Bulgarian)
Currently translated at 1.8% (28 of 1533 strings)
translationBot(ui): added translation (Bulgarian)
Co-authored-by: Sufi2425 <sufi24251@gmail.com >
Translate-URL: https://hosted.weblate.org/projects/invokeai/web-ui/bg/
Translation: InvokeAI/Web UI
2024-03-19 22:34:53 +11:00
Riccardo Giovanetti
3e46f7a010
translationBot(ui): update translation (Italian)
...
Currently translated at 97.8% (1510 of 1543 strings)
translationBot(ui): update translation (Italian)
Currently translated at 98.1% (1503 of 1532 strings)
translationBot(ui): update translation (Italian)
Currently translated at 98.1% (1503 of 1532 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-03-19 22:34:53 +11:00
psychedelicious
faa555df20
chore(ui): lint
2024-03-19 22:11:48 +11:00
psychedelicious
7a3e19227f
feat(ui): display created_by using valueOrNull
2024-03-19 22:11:48 +11:00
psychedelicious
e706afe8a6
feat(ui): add valueOrNull to useMetadataItem
...
In order to allow for null and undefined metadata values, this hook returned a symbol to indicate that parsing failed or was pending.
For values where the parsed value will never be null or undefined, it is useful get the value or null (instead of a symbol).
2024-03-19 22:11:48 +11:00
psychedelicious
acca197893
revert(ui): restore metadata parsers for created_by
2024-03-19 22:11:48 +11:00
Mary Hipp
aa2c404cab
move created_by out of recall panel
2024-03-19 22:11:48 +11:00
Mary Hipp
300a4693ae
prettier
2024-03-19 21:59:51 +11:00
maryhipp
820614e4d8
ruff
2024-03-19 21:59:51 +11:00
Mary Hipp
fe563f05fc
tsc
2024-03-19 21:59:51 +11:00
Mary Hipp
d89e653588
fix(ui): remove image_resolution from colormap
2024-03-19 21:59:51 +11:00
maryhipp
4e9207a10b
fix(worker): remove resolution from zoe as it seems to break it
2024-03-19 21:59:51 +11:00
Mary Hipp
8c6c33a315
'feat(ui): update processor constants to calculate default resolution based on current base model, add image_resolution to the processors that didn't have it in the UI as a configurable op
...
tion
2024-03-19 21:59:51 +11:00
maryhipp
ed0f9f7d66
feat(worker): add image_resolution as option for all cnet procesors
2024-03-19 21:59:51 +11:00
Mary Hipp
b25850a585
typegen
2024-03-19 21:59:51 +11:00
Brandon Rising
9d5b96c119
Pull format type setting out of model_type if statement
2024-03-19 01:16:11 -04:00
Brandon Rising
5daefccf77
Simplify logic for determining model type in probe
2024-03-19 01:16:11 -04:00
Brandon Rising
1f3c35ee90
Run Ruff
2024-03-19 01:16:11 -04:00
Brandon Rising
f78ed3a952
Add unit test
2024-03-19 01:16:11 -04:00
Brandon Rising
d38262a7ea
Allow type field to be a string
2024-03-19 01:16:11 -04:00
Brandon Rising
5feb62d440
Allow users to specify model type and skip detection step of probe
2024-03-19 01:16:11 -04:00
Lincoln Stein
f8df293d2c
Revert "fix(mm): provide ckpt config as stream to diffusers"
...
This reverts commit 9d045964d6 .
2024-03-19 14:24:54 +11:00
psychedelicious
9d045964d6
fix(mm): provide ckpt config as stream to diffusers
...
Fixes converting ckpt main models
2024-03-19 09:24:28 +11:00
psychedelicious
9fa9ebe386
fix(config): set ignore_missing_core_models when provided as CLI arg
2024-03-19 09:24:28 +11:00
psychedelicious
1cb1b60b4c
tidy: "check_root.py" -> "check_directories.py"
2024-03-19 09:24:28 +11:00
psychedelicious
1d4517d00d
tidy: "validate_root" -> "validate_directories"
2024-03-19 09:24:28 +11:00
psychedelicious
982b513af3
tidy(config): move a few get_config calls to inside the functions where they are needed
2024-03-19 09:24:28 +11:00
Lincoln Stein
f1450c2c24
update textual inversion training to use root_path rather than root_dir
2024-03-19 09:24:28 +11:00
Lincoln Stein
5d16a40b95
fix invokeai-configure to use isolated argument-parsing pattern
2024-03-19 09:24:28 +11:00