This lesson is being piloted (Beta version)

Install Fooocus to M3

Overview

Teaching: 15 min min
Exercises: 0 min
Questions
  • Install Fooocus to M3

Objectives

5. Install Fooocus to M3

Foocus 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):

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

$ cd $WORK
$ git clone https://github.com/lllyasviel/Fooocus.git

Run the installer

$ cd $WORK/Fooocus
$ python launch.py

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

And run a sample:

image

Key Points

  • Foocus