diff --git a/README.md b/README.md index 41de4882ee..b5c2db8e6b 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,12 @@ +# InvokeAI-MGPU - Experimental version of Invoke supporting rendering on multiple GPUs + +This is a fork of the wonderful [InvokeAI Text-to-Image +Generator](https://github.com/invoke-ai/InvokeAI) that has been +modified to allow simultaneous rendering of images on systems with +multiple CUDA GPUs. This support is very experimental and should not be +used in production. Please click on the **Releases** button link on the +right sidebar for the installer. +
![project hero](https://github.com/invoke-ai/InvokeAI/assets/31807370/6e3728c7-e90e-4711-905c-3b55844ff5be) diff --git a/installer/create_installer.sh b/installer/create_installer.sh index a71b0d9c41..42b2da064b 100755 --- a/installer/create_installer.sh +++ b/installer/create_installer.sh @@ -96,6 +96,8 @@ for f in templates *.txt *.reg; do done mkdir InvokeAI-Installer/lib cp lib/*.py InvokeAI-Installer/lib +mkdir InvokeAI-Installer/dist +cp dist/*.whl InvokeAI-Installer/dist # Install scripts # Mac/Linux diff --git a/installer/lib/installer.py b/installer/lib/installer.py index 11823b413e..a5650acd0f 100644 --- a/installer/lib/installer.py +++ b/installer/lib/installer.py @@ -137,7 +137,6 @@ class Installer: import messages if wheel: - messages.installing_from_wheel(wheel.name) version = get_version_from_wheel_filename(wheel.name) else: messages.welcome(self.available_releases) diff --git a/installer/lib/main.py b/installer/lib/main.py index be9dc18f96..a3b300c014 100644 --- a/installer/lib/main.py +++ b/installer/lib/main.py @@ -8,7 +8,15 @@ from pathlib import Path from installer import Installer +def find_wheel() -> Path: + dist = Path('./dist') + wheel = next(dist.glob('*.whl')) + assert wheel is not None + return wheel + if __name__ == "__main__": + wheel = find_wheel() + parser = argparse.ArgumentParser() parser.add_argument( @@ -42,7 +50,7 @@ if __name__ == "__main__": dest="wheel", help="Specifies a wheel for the InvokeAI package. Used for troubleshooting or testing prereleases.", type=Path, - default=None, + default=wheel ) args = parser.parse_args() diff --git a/invokeai/version/invokeai_version.py b/invokeai/version/invokeai_version.py index e51b356c79..f102a9cadf 100644 --- a/invokeai/version/invokeai_version.py +++ b/invokeai/version/invokeai_version.py @@ -1 +1 @@ -__version__ = "4.2.4-mgpu" +__version__ = "0.0.1"