diff --git a/installer/install.bat.in b/installer/install.bat.in index 02e09454de..51e47bb645 100644 --- a/installer/install.bat.in +++ b/installer/install.bat.in @@ -14,8 +14,8 @@ if "%1" == "use-cache" ( @rem Config @rem this should be changed to the tagged release! -set INVOKE_AI_SRC=https://github.com/invoke-ai/InvokeAI/archive/main.zip -@rem set INVOKE_AI_SRC=https://github.com/invoke-ai/InvokeAI/archive/refs/tags/v2.2.4.zip +@rem set INVOKE_AI_SRC=https://github.com/invoke-ai/InvokeAI/archive/main.zip +set INVOKE_AI_SRC=https://github.com/invoke-ai/InvokeAI/archive/refs/tags/v2.2.4.zip set INSTRUCTIONS=https://invoke-ai.github.io/InvokeAI/installation/INSTALL_AUTOMATED/ set TROUBLESHOOTING=https://invoke-ai.github.io/InvokeAI/installation/INSTALL_AUTOMATED/#troubleshooting set PYTHON_URL=https://www.python.org/downloads/windows/ diff --git a/installer/install.sh.in b/installer/install.sh.in index 8c8598a465..0fd3de30a3 100644 --- a/installer/install.sh.in +++ b/installer/install.sh.in @@ -9,8 +9,8 @@ cd "$scriptdir" deactivate >/dev/null 2>&1 # this should be changed to the tagged release! -INVOKE_AI_SRC=https://github.com/invoke-ai/InvokeAI/archive/main.zip -# INVOKE_AI_SRC=https://github.com/invoke-ai/InvokeAI/archive/refs/tags/v2.2.4.zip +# INVOKE_AI_SRC=https://github.com/invoke-ai/InvokeAI/archive/main.zip +INVOKE_AI_SRC=https://github.com/invoke-ai/InvokeAI/archive/refs/tags/v2.2.4.zip INSTRUCTIONS=https://invoke-ai.github.io/InvokeAI/installation/INSTALL_AUTOMATED/ TROUBLESHOOTING=https://invoke-ai.github.io/InvokeAI/installation/INSTALL_AUTOMATED/#troubleshooting MINIMUM_PYTHON_VERSION=3.9.0 diff --git a/ldm/generate.py b/ldm/generate.py index d9a019faff..79a543247e 100644 --- a/ldm/generate.py +++ b/ldm/generate.py @@ -810,6 +810,7 @@ class Generate: if not self.generators.get('inpaint'): from ldm.invoke.generator.inpaint import Inpaint self.generators['inpaint'] = Inpaint(self.model, self.precision) + self.generators['inpaint'].free_gpu_mem = self.free_gpu_mem return self.generators['inpaint'] # "omnibus" supports the runwayML custom inpainting model, which does diff --git a/ldm/invoke/args.py b/ldm/invoke/args.py index 72ed898172..aa9b94ffaf 100644 --- a/ldm/invoke/args.py +++ b/ldm/invoke/args.py @@ -591,6 +591,12 @@ class Args(object): action='store_true', help='Generates debugging image to display' ) + render_group.add_argument( + '--karras_max', + type=int, + default=None, + help="control the point at which the K* samplers will shift from using the Karras noise schedule (good for low step counts) to the LatentDiffusion noise schedule (good for high step counts). Set to 0 to use LatentDiffusion for all step values, and to a high value (e.g. 1000) to use Karras for all step values. [29]." + ) # Restoration related args postprocessing_group.add_argument( '--no_restore', diff --git a/scripts/configure_invokeai.py b/scripts/configure_invokeai.py index 98ae1d3dd4..b049c3185f 100644 --- a/scripts/configure_invokeai.py +++ b/scripts/configure_invokeai.py @@ -72,16 +72,23 @@ this program and resume later.\n''' #-------------------------------------------- def postscript(errors: None): if not any(errors): - message='''\n** Model Installation Successful **\nYou're all set! You may now launch InvokeAI using one of these two commands: -Web version: - python scripts/invoke.py --web (connect to http://localhost:9090) -Command-line version: - python scripts/invoke.py + message=''' +** Model Installation Successful ** -If you installed manually, remember to activate the 'invokeai' -environment before running invoke.py. If you installed using the -automated installation script, execute "invoke.sh" (Linux/Mac) or -"invoke.bat" (Windows) to start InvokeAI. +You're all set! + +If you installed using one of the automated installation scripts, +execute 'invoke.sh' (Linux/macOS) or 'invoke.bat' (Windows) to +start InvokeAI. + +If you installed manually, activate the 'invokeai' environment +(e.g. 'conda activate invokeai'), then run one of the following +commands to start InvokeAI. + +Web UI: + python scripts/invoke.py --web # (connect to http://localhost:9090) +Command-line interface: + python scripts/invoke.py Have fun! '''