laitimes

How to install ComfyUI on Mac M1/M2/M3 (M-series).

author:One-person animation

ComfyUI 介绍

ComfyUI is a node-based stable diffusion AI drawing tool WebUI, which splits the stable diffusion process into nodes to achieve more accurate workflow customization and perfect reusability. This node-based workflow also raises the bar for some uses.

In layman's terms: "assembly line version" SD.

ComfyUI's interface is designed based on graphs, nodes, and flowcharts, making it more intuitive for users to design and execute advanced stable diffusion pipelines.

How to install ComfyUI on Mac M1/M2/M3 (M-series).

ComfyUI installation steps

1、安裝 Homebrew

2. Install Python

3. Download and install ComfyUI

Install Homebrew

Homebrew is a free and open source package management system that simplifies software installation on macOS.

Open Terminal

How to install ComfyUI on Mac M1/M2/M3 (M-series).

Enter the following (copy all)

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Note that you need to enter your password, and then go all the way to the next step.

Install Python

Enter in Terminal

brew install python3

Download ComfyUI

Since you are still operating in the "terminal", you don't have a mouse, so you need to make some preparations.

We need to use the "Terminal" command to determine the location of the ComfyUI program to facilitate data management in the future.

We'll put all the files related to ComfyUI in the ComfyUI folder on the desktop.

"Terminal" directive

cd /Users/你的用户名/Desktop

Enter it again at this point

git clone https://github.com/comfyanonymous/ComfyUI

When the run is complete, a ComfyUI folder will appear on the desktop

The ComfyUI download is complete

Install ComfyUI

Continue to enter the command in the "Terminal".

cd ComfyUI

This means that in the "terminal", we will enter the ComfyUI folder, and our next operation is to execute the ComfyUI program.

Or enter the command in the "terminal".

python3 -m venv venv

Continue typing

./venv/bin/pip install torch torchvision torchaudio

And also

./venv/bin/pip install -r requirements.txt

The following result appears, and the ComfyUI installation is complete:

How to install ComfyUI on Mac M1/M2/M3 (M-series).

When prompted, we open the browser and enter the URL:

http://127.0.0.1:8188

If you see the following screen, ComfyUI has been successfully installed.

How to install ComfyUI on Mac M1/M2/M3 (M-series).

Next, how to use ComfyUI to create the first image.

One of the "ComfyUI Easy Tutorials", one-person animation.