mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
blackify
This commit is contained in:
parent
bc20fe4cb5
commit
ec48779080
@ -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
|
||||||
|
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user