Lincoln Stein
689cb9d31d
after stopping install and download services, wait for thread exit
2024-03-21 16:41:20 +11:00
Lincoln Stein
0cab1d1e04
added debugging statements
2024-03-21 16:41:20 +11:00
Lincoln Stein
9bd7dabed3
refactor big _install_next_item() loop
2024-03-21 16:41:20 +11:00
psychedelicious
30283a4767
fix(ui): set aspect ratio to free when using default model settings
...
We need to use the `widthRecalled` and `heightRecalled` actions, which handle the aspect ratio.
Closes #5974
2024-03-21 16:30:52 +11:00
Brandon Rising
dacfe6853e
Update rc version, regenerate schema
2024-03-20 08:21:23 -07:00
Brandon Rising
2b093da4b0
Remove no longer used pwinput dependency
2024-03-20 08:15:37 -07:00
psychedelicious
368c1b709c
chore: v4.0.0rc3
...
RC version bump
2024-03-20 05:59:08 -07:00
psychedelicious
2269253a6c
docs: update installation docs
...
Remove/edit references to configure script.
2024-03-20 05:48:02 -07:00
psychedelicious
3490aee247
tidy(installer): remove unused messages
2024-03-20 05:48:02 -07:00
psychedelicious
f592ad3649
fix(installer): remove configure flow from installer
2024-03-20 05:48:02 -07:00
psychedelicious
42a2bad936
fix(installer): remove deleted scripts from launcher
...
These scripts no longer exist and need to be removed from the launcher:
- invokeai-ti
- invokeai-merge
- invokeai-model-install
- invokeai-configure
2024-03-20 05:48:02 -07:00
psychedelicious
ba2fd875ad
fix(ui): typo
2024-03-20 16:26:14 +11:00
Rohinish
9d30a063e7
fix: remaining strings
2024-03-20 16:26:14 +11:00
Rohinish
dc9a9c0160
fix: not translated strings
2024-03-20 16:26:14 +11:00
Rohinish
d45931a0af
fix(ui): localize text
2024-03-20 16:26:14 +11:00
psychedelicious
c1de129bbc
fix(ui): use refiner's seamless node for i2l VAE
...
Closes #5995
2024-03-20 16:08:27 +11:00
Wubbbi
bf852348aa
Update pytorch and xFormers 2.1.2 -> 2.2.1
2024-03-20 15:16:08 +11:00
psychedelicious
fc63419c6e
fix(ui): refresh starter models on model add/update/delete
2024-03-20 15:05:25 +11:00
psychedelicious
c356cabe97
chore(ui): lint
2024-03-20 15:05:25 +11:00
psychedelicious
97fe6e483d
fix(mm): do not attempt to reinstall starter model dependencies
2024-03-20 15:05:25 +11:00
psychedelicious
1069303309
fix(config): remove configure arg & logic from docker image
2024-03-20 15:05:25 +11:00
psychedelicious
eb607498bf
fix(config): create parent dir when writing config file
2024-03-20 15:05:25 +11:00
psychedelicious
bdb52cfcf7
feat(ui): set HF token in MM tab
...
- Display a toast on UI launch if the HF token is invalid
- Show form in MM if token is invalid or unable to be verified, let user set the token via this form
2024-03-20 15:05:25 +11:00
psychedelicious
3f6f8199f6
chore(ui): typegen
2024-03-20 15:05:25 +11:00
psychedelicious
9a5575b46b
feat(mm): move HF token helper to route
2024-03-20 15:05:25 +11:00
psychedelicious
dea9142cb8
tests: fix config test after changing config schema version format
2024-03-20 15:05:25 +11:00
psychedelicious
02329df1df
feat(config): write example config file out on app startup
2024-03-20 15:05:25 +11:00
psychedelicious
f5337c7ce2
fix(config): handle relative paths to v3 models.yamls
2024-03-20 15:05:25 +11:00
psychedelicious
b02f2da71d
fix(config): handle legacy_conf_dir setting migration
2024-03-20 15:05:25 +11:00
psychedelicious
6c13fa13ea
fix(mm): regression from change to legacy conf dir change
2024-03-20 15:05:25 +11:00
psychedelicious
040ea8f41b
tidy: do not show msg when loading NSFW checker
2024-03-20 15:05:25 +11:00
psychedelicious
13c72206d8
docs: update CONFIGURATION.md
2024-03-20 15:05:25 +11:00
psychedelicious
96ef7e3889
docs: add link to docs to invokeai.yaml template
2024-03-20 15:05:25 +11:00
psychedelicious
2eacbb4d9d
fix(nodes): do not load NSFW checker model on startup
...
Just check if the path exists to determine if it is "available". When needed, load it.
2024-03-20 15:05:25 +11:00
psychedelicious
0e51495071
chore(ui): lint
2024-03-20 15:05:25 +11:00
psychedelicious
b378cfcb46
cleanup: remove unused scripts, cruft
...
App runs & tests pass.
2024-03-20 15:05:25 +11:00
psychedelicious
6c558279dd
feat(config): add CLI arg to specify config file
...
This allows users to create simple "profiles" via separate `invokeai.yaml` files.
- Remove `InvokeAIAppConfig.set_root()`, it's extraneous
- Remove `InvokeAIAppConfig.merge_from_file()`, it's extraneous
- Add `--config` to the app arg parser, add `InvokeAIAppConfig._config_file`, and consume in the config singleton getter
- `InvokeAIAppConfig.init_file_path` -> `InvokeAIAppConfig.config_file_path`
2024-03-20 15:05:25 +11:00
psychedelicious
bd3e8cbdfb
feat(ui): add starter models tab to MM
...
Lists all starter models with an install button if the model is not yet installed.
2024-03-20 15:05:25 +11:00
psychedelicious
aa689e5384
style(ui): tweak ModelBaseBadge style
2024-03-20 15:05:25 +11:00
psychedelicious
484488dee4
feat(ui): add useStarterModelsToast
...
This displays a toast linking to the MM tab when there are no main models installed. It is a no-op when the `starterModels` feature is disabled.
2024-03-20 15:05:25 +11:00
psychedelicious
e40b715f39
feat(ui): add starterModels
feature
...
This can be disabled to prevent a toast from appearing, linking users to the model manager tab.
2024-03-20 15:05:25 +11:00
psychedelicious
e8f4012b56
feat(ui): extract FetchingModelsLoader into reusable component
2024-03-20 15:05:25 +11:00
psychedelicious
bc12ca9220
chore(ui): typegen
2024-03-20 15:05:25 +11:00
psychedelicious
5ceaeb234d
feat(mm): add starter models route
...
The models from INITIAL_MODELS.yaml have been recreated as a structured python object. This data is served on a new route. The model sources are compared against currently-installed models to determine if they are already installed or not.
2024-03-20 15:05:25 +11:00
psychedelicious
429f87c60b
fix(mm): HFModelSource string format
...
The dunder `__str__` method for `HFModelSource` was appending a colon `:` to the end of the source strings.
2024-03-20 15:05:25 +11:00
psychedelicious
ee3096f616
feat(config): add flag to indicate if args were parsed
...
This flag acts as a proxy for the `get_config()` function to determine if the full application is running.
If it was, the config will set the root, do HF login, etc.
If not (e.g. it's called by an external script), all that stuff will be skipped.
2024-03-20 15:05:25 +11:00
psychedelicious
6af6673a4f
feat: move all config-related initialization to app
...
HF login, legacy yaml confs, and default init file are all handled during app setup.
All directories are created as they are needed by the app.
No need to check for a valid root dir - we will make it if it doesn't exist.
2024-03-20 15:05:25 +11:00
psychedelicious
b173e4c08d
tidy(config): type checker ignores + comment
2024-03-20 15:05:25 +11:00
psychedelicious
059f869737
tidy(config): remove ignore_missing_core_models
CLI arg and setting
...
This is now a no-op, with all models being downloaded when they are first requested.
2024-03-20 15:05:25 +11:00
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