Installation
Requirements
- Python
>= 3.10
is currently supported. Check your Python version by runningpython -V
. - An NVIDIA GPU with >= 8 GB VRAM is recommended for model training.
Basic Installation
- Open your terminal and navigate to the directory where you want to clone the
invoke-training
repo. - Clone the repo:
- Create and activate a python virtual environment. This creates an isolated environment for
invoke-training
and its dependencies that won't interfere with other python environments on your system, including any installations of InvokeAI. - Install
invoke-training
and its dependencies:
Developer Installation
- Consider forking the repo if you plan to contribute code changes.
git clone
the repo.- Create and activate a python virtual environment. This creates an isolated environment for
invoke-training
and its dependencies that won't interfere with other python environments on your system, including any installations of InvokeAI. - Install
invoke-training
and its dependencies: - (Optional) Install the pre-commit hooks:
pre-commit install
. This will run static analysis tools (ruff) ongit commit
. - (Optional) Setup
ruff
in your IDE of choice.