You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Set the RAM cache size to as large as possible, leaving a few GB free for the rest of your system and Invoke.
For example, if your system has 32GB RAM, 28GB is a good value.
max_cache_ram_gb: 28
Set the VRAM cache size to be as large as possible while leaving enough room for the working memory of the tasks you will be doing.
For example, on a 24GB GPU that will be running unquantized FLUX without any auxiliary models,
18GB is a good value.
max_cache_vram_gb: 18
I Get:
Please enter 1-4, Q: [1] 1
Starting the InvokeAI browser-based UI..
Traceback (most recent call last):
File "C:\Users\Ben\invokeai.venv\Lib\site-packages\invokeai\app\services\config\config_default.py", line 467, in load_and_migrate_config
config = InvokeAIAppConfig.model_validate(loaded_config_dict)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Ben\invokeai.venv\Lib\site-packages\pydantic\main.py", line 551, in model_validate
return cls.pydantic_validator.validate_python(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
pydantic_core._pydantic_core.ValidationError: 2 validation errors for InvokeAIAppConfig
max_cache_ram_gb
Extra inputs are not permitted [type=extra_forbidden, input_value=28, input_type=int]
For further information visit https://errors.pydantic.dev/2.7/v/extra_forbidden
max_cache_vram_gb
Extra inputs are not permitted [type=extra_forbidden, input_value=18, input_type=int]
For further information visit https://errors.pydantic.dev/2.7/v/extra_forbidden
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in run_code
File "C:\Users\Ben\invokeai.venv\Scripts\invokeai-web.exe_main.py", line 7, in
File "C:\Users\Ben\invokeai.venv\Lib\site-packages\invokeai\app\run_app.py", line 10, in run_app
from invokeai.app.api_app import invoke_api
File "C:\Users\Ben\invokeai.venv\Lib\site-packages\invokeai\app\api_app.py", line 22, in
import invokeai.backend.util.hotfixes # noqa: F401 (monkeypatching on import)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Ben\invokeai.venv\Lib\site-packages\invokeai\backend\util\hotfixes.py", line 32, in
logger = InvokeAILogger.get_logger(name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Ben\invokeai.venv\Lib\site-packages\invokeai\backend\util\logging.py", line 343, in get_logger
config = config or get_config()
^^^^^^^^^^^^
File "C:\Users\Ben\invokeai.venv\Lib\site-packages\invokeai\app\services\config\config_default.py", line 545, in get_config
config_from_file = load_and_migrate_config(config.config_file_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Ben\invokeai.venv\Lib\site-packages\invokeai\app\services\config\config_default.py", line 473, in load_and_migrate_config
raise RuntimeError(f"Failed to load config file {config_path}: {e}") from e
RuntimeError: Failed to load config file C:\Users\Ben\invokeai\invokeai.yaml: 2 validation errors for InvokeAIAppConfig
max_cache_ram_gb
Extra inputs are not permitted [type=extra_forbidden, input_value=28, input_type=int]
For further information visit https://errors.pydantic.dev/2.7/v/extra_forbidden
max_cache_vram_gb
Extra inputs are not permitted [type=extra_forbidden, input_value=18, input_type=int]
For further information visit https://errors.pydantic.dev/2.7/v/extra_forbidden
What you expected to happen
I expect Invoke to launch
How to reproduce the problem
Edit YAML with LowVRAM settings and launch
Additional context
No response
Discord username
No response
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this problem?
Operating system
Windows
GPU vendor
Nvidia (CUDA)
GPU model
4090
GPU VRAM
24GB
Version number
5.6.0rc2
Browser
Firefox 134.0 (64-bit)
Python dependencies
No response
What happened
I update my YAML to:
Internal metadata - do not edit:
schema_version: 4.0.2
Put user settings here - see https://invoke-ai.github.io/InvokeAI/configuration/:
enable_partial_loading: true
Set the RAM cache size to as large as possible, leaving a few GB free for the rest of your system and Invoke.
For example, if your system has 32GB RAM, 28GB is a good value.
max_cache_ram_gb: 28
Set the VRAM cache size to be as large as possible while leaving enough room for the working memory of the tasks you will be doing.
For example, on a 24GB GPU that will be running unquantized FLUX without any auxiliary models,
18GB is a good value.
max_cache_vram_gb: 18
I Get:
Please enter 1-4, Q: [1] 1
Starting the InvokeAI browser-based UI..
Traceback (most recent call last):
File "C:\Users\Ben\invokeai.venv\Lib\site-packages\invokeai\app\services\config\config_default.py", line 467, in load_and_migrate_config
config = InvokeAIAppConfig.model_validate(loaded_config_dict)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Ben\invokeai.venv\Lib\site-packages\pydantic\main.py", line 551, in model_validate
return cls.pydantic_validator.validate_python(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
pydantic_core._pydantic_core.ValidationError: 2 validation errors for InvokeAIAppConfig
max_cache_ram_gb
Extra inputs are not permitted [type=extra_forbidden, input_value=28, input_type=int]
For further information visit https://errors.pydantic.dev/2.7/v/extra_forbidden
max_cache_vram_gb
Extra inputs are not permitted [type=extra_forbidden, input_value=18, input_type=int]
For further information visit https://errors.pydantic.dev/2.7/v/extra_forbidden
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in run_code
File "C:\Users\Ben\invokeai.venv\Scripts\invokeai-web.exe_main.py", line 7, in
File "C:\Users\Ben\invokeai.venv\Lib\site-packages\invokeai\app\run_app.py", line 10, in run_app
from invokeai.app.api_app import invoke_api
File "C:\Users\Ben\invokeai.venv\Lib\site-packages\invokeai\app\api_app.py", line 22, in
import invokeai.backend.util.hotfixes # noqa: F401 (monkeypatching on import)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Ben\invokeai.venv\Lib\site-packages\invokeai\backend\util\hotfixes.py", line 32, in
logger = InvokeAILogger.get_logger(name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Ben\invokeai.venv\Lib\site-packages\invokeai\backend\util\logging.py", line 343, in get_logger
config = config or get_config()
^^^^^^^^^^^^
File "C:\Users\Ben\invokeai.venv\Lib\site-packages\invokeai\app\services\config\config_default.py", line 545, in get_config
config_from_file = load_and_migrate_config(config.config_file_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Ben\invokeai.venv\Lib\site-packages\invokeai\app\services\config\config_default.py", line 473, in load_and_migrate_config
raise RuntimeError(f"Failed to load config file {config_path}: {e}") from e
RuntimeError: Failed to load config file C:\Users\Ben\invokeai\invokeai.yaml: 2 validation errors for InvokeAIAppConfig
max_cache_ram_gb
Extra inputs are not permitted [type=extra_forbidden, input_value=28, input_type=int]
For further information visit https://errors.pydantic.dev/2.7/v/extra_forbidden
max_cache_vram_gb
Extra inputs are not permitted [type=extra_forbidden, input_value=18, input_type=int]
For further information visit https://errors.pydantic.dev/2.7/v/extra_forbidden
What you expected to happen
I expect Invoke to launch
How to reproduce the problem
Edit YAML with LowVRAM settings and launch
Additional context
No response
Discord username
No response
The text was updated successfully, but these errors were encountered: