Lincoln Stein
1f9e1eb964
merge with main
2023-06-06 22:18:41 -04:00
Lincoln Stein
9e31b1f387
Merge branch 'main' into lstein/config-management-fixes
2023-06-04 18:17:43 -04:00
Damian Stewart
cdcfda164d
enable long prompts, upgrade compel to enable .and() (concatenating prompts)
2023-06-04 15:30:54 +02:00
Lincoln Stein
2273b3a8c8
fix potential race condition in config system
2023-05-25 20:41:26 -04:00
Lincoln Stein
d96175d127
resolve some undefined symbols in model_cache
2023-05-18 14:31:47 -04:00
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
Lincoln Stein
8adff96e29
Merge branch 'main' into lstein/global-configuration
2023-05-17 14:37:09 -04:00
Damian Stewart
050add58d2
fix getting conditionings
2023-05-14 12:20:54 +02:00
Eugene
b72c9787a9
Revert "comment out customer_attention_context"
...
This reverts commit 8f8cd90787
.
Due to NameError: name 'options' is not defined
2023-05-14 00:37:55 -04:00
Kent Keirsey
8f8cd90787
comment out customer_attention_context
2023-05-12 13:59:00 -04:00
Eugene
9e594f9018
pad conditioning tensors to same length
...
fixes crash when prompt length is greater than 75 tokens
2023-05-11 00:34:15 -04:00
Lincoln Stein
5d5157fc65
make conditioning.py work with compel 1.1.5
2023-05-10 18:08:33 -04:00
Lincoln Stein
e0214a32bc
mostly ported to new manager API; needs testing
2023-05-06 00:44:12 -04:00
Lincoln Stein
e4196bbe5b
adjust non-app modules to use new config system
2023-05-04 00:43:51 -04:00
Lincoln Stein
15ffb53e59
remove globals, args, generate and the legacy CLI
2023-05-03 23:36:51 -04:00
Lincoln Stein
8db20e0d95
rename log to logger throughout
2023-04-29 09:43:40 -04:00
Lincoln Stein
0b0e6fe448
convert remainder of print() to log.info()
2023-04-14 15:15:14 -04:00
Kevin Turner
9d339e94f2
backend..conditioning: remove code for legacy model
2023-03-09 18:15:12 -08:00
damian
69e2dc0404
update for compel changes
2023-03-08 20:45:01 +01:00
Damian Stewart
a38b75572f
don't log excess tokens as truncated
2023-03-08 20:00:18 +01:00
damian
768e969c90
cleanup and fix kwarg
2023-03-08 18:00:54 +01:00
Damian Stewart
57db66634d
longer prompts wip
2023-03-08 14:25:48 +01:00
Lincoln Stein
60a98cacef
all vestiges of ldm.invoke removed
2023-03-03 01:02:00 -05:00
Lincoln Stein
6a990565ff
all files migrated; tweaks needed
2023-03-03 00:02:15 -05:00
Lincoln Stein
3f0b0f3250
almost all of backend migrated; restoration next
2023-03-02 13:28:17 -05:00