This lesson is being piloted (Beta version)

Installing ComfyUI to M3

Overview

Teaching: 20 min
Exercises: 0 min
Questions
  • How to use install ComfyUI?

Objectives
  • Install ComfyUI

4. Install ComfyUI to M3

Alternative to Automatic1111, is ComfyUI which is an open source project and can be found from their github: https://github.com/AUTOMATIC1111/stable-diffusion-webui

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 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/comfyanonymous/ComfyUI.git
$ cd ComfyUI/custom_nodes
$ git clone https://github.com/ltdrdata/ComfyUI-Manager.git

Run the GUI

$ cd $WORK/ComfyUI
$ pip install -r requirement.txt
$ python main.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

Key Points

  • ComfyUI