Step by step guide to deploy comfyUI locally and use AI drawing tools on your own computer

I. Preface

Want to deploy locallyComfyUIIn theory, it is possible to run ComfyUI with a CPU without a graphics card.

But running is running, and running AI purely on the CPU is very, very, very slow.

So if you're going to run comyUI with a CPU, it's just a figure of speech that opens up, with no arbitrary practical significance.

Regarding graphics card requirements, the configuration to run ComfyUI is a bit lower than stableDiffusion, a minimum 3G graphics card will be able to run it.

If you want to run comfyUI smoothly, you need at least 8G graphics card.

If you also want to run flux models, a video card of at least 12G is recommended.

The most important thing to remember is to always use an nvidia graphics card.

II. Installation requirements

1, AMD graphics card can install comfyUI?

The link below is the official page for comfyUI

https://github.com/comfyanonymous/comfyui

As you can see at the bottom of the page, AMD graphics cards that want to run comfyUI can only do so on a Linux installation.

fea0fc72j00sy8sd3000ud000j5007dm

2、Can Apple computer install comfyUI?

It is possible to install comfyUI on Apple computers, but it is also slower than it should be.

In particular, there will be a lot of plugins that won't work.

e58b2378j00sy8sd3001dd000j4008dm

So, to play comfyUI, only nvidia graphics cards are recommended, although AMD graphics cards and Apple computers can play it, but they are not recommended.

III. Installation of integration packages

1、Download the integration package

Currently there are two mainstream installation methods for comfyUI: one is to download the official integration package from comfyUI's official website, and the other is to use Autumn Leaf's integration package.

(1) Official Integration Pack:

https://github.com/comfyanonymous/ComfyUI/releases/latest/download/ComfyUI_windows_portable_nvidia.7z

7115a6f1j00sy8sd40023d000lr00g6m

(2) Autumn Leaves Integration Pack Address:

https://pan.quark.cn/s/64b808baa960

Decryption code: bilibili-Akiba aaaki

1863949ej00sy8sd40012d000t400bzm

2. Unpack the integration package

Whether you're using the official integration pack, or the Autumn Leaves integration pack, be sure to put it in a pure Chinese path with no Chinese or special symbols after unzipping.

990fb0f1j00sy8sd3001fd000kw0094m

IV. How to use the integration package

1、Official integration package

Unzip and double click to run the file with the word "cpu" to run through the cpu, with the word "gpu" to run through the gpu.

1a053b96j00sy8sd3000td000hw008tm

After clicking Run, a black command line window will pop up. comfyUI should not be closed the entire time it is working.

Note here: the process of installing and deploying and the later node installations require that you turn on scientific internet access.

90759f64j00sy8sd4000od000r700e8m

After the startup is finished, don't close the command line and open the following address in your browser to open the comfyUI working interface.

The interface that opens is a comfyUI basic Vincentian diagram workflow, which reports an error when run because we haven't downloaded the model.

http://127.0.0.1:8188/

ca9a6278j00sy8sd4003ed000u000j0m

2. Autumn Leaves Integration Pack

The Autumn Leaves Integration Pack does a little better than the official integration pack in terms of ease of use, it not only integrates comfyUI into the launcher, but also integrates environments and commonly used nodes, etc., which saves us from having to download and install them one by one.

So, we'll be working with the Autumn Leaves Integration Pack from now on.

52cac305j00sy8sd400bwd000u000irm

(1) Versioning

comfyUI is updated very quickly, and with the Autumn Leaves Integration Pack, we can easily switch to the latest version.

0a641215j00sy8sd4006zd000u000irm

(2) Plug-in management

Many commonly used plug-ins have been integrated in the Autumn Leaves Integration Pack, and we can easily download and manage plug-ins through the integration pack.

c82b4f89j00sy8sd400dbd000u000irm

(3) Chinese language interface

Click "Start" to run comfyUI.

The comfyUI interface is in English when you first open it, you can adjust the language to Chinese by using the settings button at the bottom left corner to find "AGL".

e89d5b0aj00sy8sd4004ld000u000jem

(4) Shared SD model

The comfyUI that you just installed does not contain the model, if you installed SD before, you can call the model from SD directly.

Come to the "comfyUI" folder, find "extra_model_paths.yaml.example", delete the extension and change it to "extra_model_paths.yaml", then this folder is officially valid. model_paths.yaml", and the folder is now official.

There are also changes to be made to the contents of the file below.

93a1419fj00sy8sd3001gd000is00g8m

Open the "extra_model_paths.yaml" file with notepad, and replace the content in the red box with your SD installation path, so that comfyUI can share the big models, VAE, lora and other models installed in your SD.

a3556df5j00sy8sd40012d000qg00h7m

The path to the controlnet model should be mentioned separately here, and the settings in the file should be changed as below in order to share the model in the SD folder properly.

66f8f769j00sy8sd40014d000k400gzm

After setting, save the "extra_model_paths.yaml" file and restart comfyUI.

At this point click Run again and we are ready to create AI paintings.

da65da92j00sy8sd4004xd000u000bnm

statement:The content of the source of public various media platforms, if the inclusion of the content violates your rights and interests, please contact the mailbox, this site will be the first time to deal with.
Encyclopedia

The 8 Hottest AI Video Generation Tools at Home and Abroad by 2025

2025-6-28 9:46:01

TutorialEncyclopedia

AI short movie tutorials that teach you to quickly generate character design images with complete compositions

2025-6-29 9:35:39

Zenium
Search