mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
3a9201bd31
Organise deps into ~3 categories: - Core generation dependencies, pinned for reproducible builds. - Core application dependencies, pinned for reproducible builds. - Auxiliary dependencies, pinned only if necessary. I pinned / bumped these to latest: - `controlnet_aux` - `fastapi` - `fastapi-events` - `huggingface-hub` - `numpy` - `python-socketio` - `torchmetrics` - `transformers` - `uvicorn` I checked the release notes for these and didn't see any breaking changes that would affect us. There is a `fastapi` breaking change in v108 related to background tasks but it doesn't affect us. I tested on a fresh venv. The app still works and I can generate on macOS. Hopefully, enforcing explicit pinned versions will reduce the issues where people get CPU torch. It also means we should periodically bump versions up to ensure we don't get too far behind on our dependencies and have to do painful upgrades. |
||
---|---|---|
.. | ||
lib | ||
templates | ||
create_installer.sh | ||
install.bat.in | ||
install.sh.in | ||
readme.txt | ||
tag_release.sh | ||
WinLongPathsEnabled.reg |
InvokeAI Project homepage: https://github.com/invoke-ai/InvokeAI Preparations: You will need to install Python 3.10 or higher for this installer to work. Instructions are given here: https://invoke-ai.github.io/InvokeAI/installation/INSTALL_AUTOMATED/ Before you start the installer, please open up your system's command line window (Terminal or Command) and type the commands: python --version If all is well, it will print "Python 3.X.X", where the version number is at least 3.10.*, and not higher than 3.11.*. If this works, check the version of the Python package manager, pip: pip --version You should get a message that indicates that the pip package installer was derived from Python 3.10 or 3.11. For example: "pip 22.0.1 from /usr/bin/pip (python 3.10)" Long Paths on Windows: If you are on Windows, you will need to enable Windows Long Paths to run InvokeAI successfully. If you're not sure what this is, you almost certainly need to do this. Simply double-click the "WinLongPathsEnabled.reg" file located in this directory, and approve the Windows warnings. Note that you will need to have admin privileges in order to do this. Launching the installer: Windows: double-click the 'install.bat' file (while keeping it inside the InvokeAI-Installer folder). Linux and Mac: Please open the terminal application and run './install.sh' (while keeping it inside the InvokeAI-Installer folder). The installer will create a directory of your choice and install the InvokeAI application within it. This directory contains everything you need to run invokeai. Once InvokeAI is up and running, you may delete the InvokeAI-Installer folder at your convenience. For more information, please see https://invoke-ai.github.io/InvokeAI/installation/INSTALL_AUTOMATED/