This commit is contained in:
Lincoln Stein 2023-08-02 14:28:19 -04:00
parent bc20fe4cb5
commit ec48779080
2 changed files with 2 additions and 1 deletions

View File

@ -175,6 +175,7 @@ DB_FILE = Path("invokeai.db")
LEGACY_INIT_FILE = Path("invokeai.init") LEGACY_INIT_FILE = Path("invokeai.init")
DEFAULT_MAX_VRAM = 0.5 DEFAULT_MAX_VRAM = 0.5
class InvokeAISettings(BaseSettings): class InvokeAISettings(BaseSettings):
""" """
Runtime configuration settings in which default values are Runtime configuration settings in which default values are

View File

@ -86,7 +86,7 @@ _, MAX_VRAM = torch.cuda.mem_get_info() if HAS_CUDA else (0, 0)
MAX_VRAM /= GB MAX_VRAM /= GB
MAX_RAM = psutil.virtual_memory().total / GB MAX_RAM = psutil.virtual_memory().total / GB
INIT_FILE_PREAMBLE = """# InvokeAI initialization file INIT_FILE_PREAMBLE = """# InvokeAI initialization file
# This is the InvokeAI initialization file, which contains command-line default values. # This is the InvokeAI initialization file, which contains command-line default values.