This lesson is being piloted (Beta version)

Install InvokeAI to M3

Overview

Teaching: 20 min
Exercises: 0 min
Questions
  • How to install InvokeAI to M3

Objectives
  • Install InvokeAI

5. Install InvokeAI to M3

Alternative to Automatic1111 and ComfyUI, InvokeAI is open source package: https://github.com/invoke-ai/InvokeAI

The following steps instruct you to install it on SMU M3, after creating the conda env and activate it in Step 1:

$ conda activate ~/sd

Download the latest model (either by gitclone or download zip file from their repo):

https://github.com/invoke-ai/InvokeAI/releases/tag/3.7.0

I encourage you to download it to your $WORK folder since you have plenty of space (avoid the limitted $HOME storage):

$ cd $WORK
$ wget https://github.com/invoke-ai/InvokeAI/releases/download/3.7.0/InvokeAI-installer-v3.7.0.zip

Unzip and Run the installer

$ cd $WORK
$ unzip InvokeAI-installer-v3.7.0.zip
$ cd InvokeAI-Installer
$ ./install.sh

Follow the prompt, when asked to select the install destination, change it to

/lustre/work/client/users/**$your_username**/invokeai

Once done installation, you can run the GUI:

$ cd $WORK/invokeai
$ ./invoke.sh

Select 1 to “Generate images with a browser-based interface”

If you see the http link appear as in the screenshot below, copy it and paste to the Chrome browser from the Virtual Desktop:

image

image

Run the sample:

image

Key Points

  • InvokeAI