Lincoln Stein
7ea995149e
fixes to env parsing, textual inversion & help text
...
- Make environment variable settings case InSenSiTive:
INVOKEAI_MAX_LOADED_MODELS and InvokeAI_Max_Loaded_Models
environment variables will both set `max_loaded_models`
- Updated realesrgan to use new config system.
- Updated textual_inversion_training to use new config system.
- Discovered a race condition when InvokeAIAppConfig is created
at module load time, which makes it impossible to customize
or replace the help message produced with --help on the command
line. To fix this, moved all instances of get_invokeai_config()
from module load time to object initialization time. Makes code
cleaner, too.
- Added `--from_file` argument to `invokeai-node-cli` and changed
github action to match. CI tests will hopefully work now.
2023-05-18 10:48:23 -04:00
Eugene
20ca9e1fc1
config: move 'CORS' settings to 'Web Server' in the docstring to match the actual category
2023-05-17 19:45:51 -04:00
Eugene
8a8b09a953
api_app: rename web_config to app_config for consistency
2023-05-17 19:42:13 -04:00
Eugene
9e4e386c9b
web and formatting fixes
...
- remove non-existent import InvokeAIWebConfig
- fix workflow file formatting
- clean up whitespace
2023-05-17 19:12:03 -04:00
Lincoln Stein
eca1e449a8
Merge branch 'lstein/global-configuration' of github.com:invoke-ai/InvokeAI into lstein/global-configuration
2023-05-17 15:23:21 -04:00
Lincoln Stein
ffaadb9d05
reorder options in help text
2023-05-17 15:22:58 -04:00
Lincoln Stein
8adff96e29
Merge branch 'main' into lstein/global-configuration
2023-05-17 14:37:09 -04:00
Lincoln Stein
7593dc19d6
complete several steps needed to make 3.0 installable
...
- invokeai-configure updated to work with new config system
- migrate invokeai.init to invokeai.yaml during configure
- replace legacy invokeai with invokeai-node-cli
- add ability to run an invocation directly from invokeai-node-cli command line
- update CI tests to work with new invokeai syntax
2023-05-17 14:13:27 -04:00
Lincoln Stein
b7c5a39685
make invokeai.yaml more hierarchical; fix list configuration bug
2023-05-17 12:19:19 -04:00
Lincoln Stein
eadfd239a8
update config script to work with new config system
2023-05-17 00:18:19 -04:00
Lincoln Stein
8d75e50435
partial port of invokeai-configure
2023-05-16 01:50:01 -04:00
psychedelicious
1d9c115225
feat(nodes): add low and high to RandomIntInvocation
2023-05-16 13:50:52 +10:00
Eugene Brodsky
2623941d91
Merge branch 'main' into lstein/bugfix/compel
2023-05-13 22:23:59 -04:00
Lincoln Stein
1103ab2844
merge with main
2023-05-13 21:35:19 -04:00
Lincoln Stein
11b2076b46
implement change to web_config suggested by ebr
2023-05-13 21:33:19 -04:00
Eugene Brodsky
63db3fc22f
reduce queue check interval to 0.5s
2023-05-12 17:54:26 -04:00
Eugene
ad0bb3f61a
fix: queue error should not crash InvocationProcessor
...
1. if retrieving an item from the queue raises an exception, the
InvocationProcessor thread crashes, but the API continues running in
a non-functional state. This fixes the issue
2. when there are no items in the queue, sleep 1 second before checking
again.
3. Also ensures the thread isn't crashed if an exception is raised from
invoker, and emits the error event
Intentionally using base Exceptions because for now we don't know which
specific exception to expect.
Fixes (sort of)? #3222
2023-05-12 17:54:26 -04:00
psychedelicious
e5b7dd63e9
fix(nodes): temporarily disable librarygraphs
...
- Do not retrieve graph from DB until we resolve the issue of changing node schemas causing application to fail to start up due to invalid graphs
2023-05-12 22:33:49 +10:00
Eugene Brodsky
af060188bd
Merge branch 'main' into lstein/bugfix/compel
2023-05-12 08:22:18 -04:00
blessedcoolant
9c1e65f3a3
Merge branch 'main' into feat/nodes/add-randomintinvocation
2023-05-12 15:56:41 +12:00
psychedelicious
ebec200ba6
Remove unused import
2023-05-12 13:56:02 +10:00
blessedcoolant
0acb8ed85d
Merge branch 'main' into feat/nodes/add-w-h-latentsoutput
2023-05-12 15:23:29 +12:00
blessedcoolant
8c1c9cd702
Merge branch 'main' into feat/nodes/add-randomintinvocation
2023-05-12 15:21:49 +12:00
blessedcoolant
af95cef7f9
Merge branch 'main' into fix/nodes/fix-imageoutput-optionals
2023-05-12 15:08:19 +12:00
Sergey Borisov
27dc07d95a
Set zero eta by default(fix ddim scheduler error)
2023-05-11 18:49:27 +03:00
blessedcoolant
f7dc171c4f
Rename default schedulers across the app
2023-05-12 03:44:20 +12:00
blessedcoolant
8a836247c8
Add DPMPP Single, Euler Karras and DPMPP2 Multi Karras Schedulers
2023-05-12 02:23:33 +12:00
blessedcoolant
9a383e456d
Codesplit SCHEDULER_MAP for reusage
2023-05-12 00:40:03 +12:00
blessedcoolant
c1e7460d39
Merge branch 'main' into unipc-sched
2023-05-12 00:11:09 +12:00
blessedcoolant
3ffff023b2
Add missing key to scheduler_map
...
It was breaking coz the sampler was not being reset. So needs a key on each. Will simplify this later.
2023-05-12 00:08:50 +12:00
psychedelicious
6cf308004a
fix(nodes): remove Optionals on ImageOutputs
2023-05-11 20:54:57 +10:00
blessedcoolant
d1029138d2
Default to DDIM if scheduler is missing
2023-05-11 22:54:35 +12:00
blessedcoolant
06b5800d28
Add UniPC Scheduler
2023-05-11 22:43:18 +12:00
psychedelicious
483f2ccb56
feat(nodes): add RandomIntInvocation
...
just outputs a single random int
2023-05-11 20:33:32 +10:00
psychedelicious
93ced0bec6
feat(nodes): add w/h to latents outputs
...
This reduces the number of nodes needed when working with latents (ie fewer plain integer value nodes)
Also correct a few mistakes in the fields
2023-05-11 20:32:55 +10:00
psychedelicious
4333852c37
fix(nodes): fix missing context
arg in LatentsToLatents
2023-05-11 19:28:42 +10:00
Eugene Brodsky
3baa230077
Merge branch 'main' into lstein/bugfix/compel
2023-05-11 00:50:45 -04:00
psychedelicious
f488b1a7f2
fix(nodes): fix usage of Optional
2023-05-11 11:55:51 +10:00
psychedelicious
34f3a0f0e3
feat(nodes): improve default model choosing output
2023-05-11 11:55:51 +10:00
psychedelicious
d0bac1675e
fix(nodes): fix ImageOutput Config
2023-05-11 11:55:51 +10:00
psychedelicious
4e56c962f4
fix(nodes): fix infill docstrings
2023-05-11 11:55:51 +10:00
psychedelicious
4ef0e43759
fix(nodes): remove dataURL invocation
2023-05-11 11:55:51 +10:00
psychedelicious
a7786d5ff2
fix(nodes): restore seamless to TextToLatents
2023-05-11 11:55:51 +10:00
psychedelicious
6c1de975d9
feat(nodes): add infill nodes
2023-05-11 11:55:51 +10:00
psychedelicious
a1079e455a
feat(nodes): cleanup unused params, seed generation
2023-05-11 11:55:51 +10:00
psychedelicious
da4eacdffe
feat(nodes): add InfillInvocation
2023-05-11 11:55:51 +10:00
psychedelicious
6102e560ba
feat(nodes): add LatentsToImage node (VAE encode)
2023-05-11 11:55:51 +10:00
psychedelicious
20f6a597ab
fix(nodes): add MetadataColorField
2023-05-11 11:55:51 +10:00
psychedelicious
206e6b1730
feat(nodes): wip inpaint node
2023-05-11 11:55:51 +10:00
psychedelicious
357cee2849
fix(nodes): fix cfg scale min value
2023-05-11 11:55:51 +10:00