Project

General

Profile

ComfyUISetup » History » Version 2

Anonymous, 10/06/2024 09:59 AM
adding ComfyUI Manager install and links to nodes

1 1
h1. ComfyUI Setup
2
3
The following describes how to setup "https://www.comfy.org/":ComfyUI on Ubuntu 24.04.  Note that a modern GPU is required.
4
5
h2. Install ComfyUI
6
7
ComfyUI will be installed into a Python virtual environment which keeps it somewhat isolated from the rest of the system.
8
9
# Install virtualenv if it is not already installed:
10
<pre>
11
$ sudo apt  install python3.12-venv
12
</pre>
13
# Create virtualenv at @/opt/comfyui@ and then update pip:
14
<pre>
15
$ sudo python3 -m venv /opt/comfyui/
16
$ sudo /opt/comfyui/bin/pip install --upgrade pip
17
</pre>
18
# Install pytorch into the virtualenv (NOTE: this assumes an NVidia GPU and the appropriate drivers must already be installed):
19
<pre>
20
$ sudo /opt/comfyui/bin/pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu121
21
</pre>
22
# Install ComfyUI within the virtualenv:
23
<pre>
24
$ cd /opt/comfyui
25
$ sudo mkdir comfyui
26
$ sudo chown -R dsorber:dsorber comfyui/
27
$ cd comfyui/
28
$ git clone https://github.com/comfyanonymous/ComfyUI.git .
29
$ sudo /opt/comfyui/bin/pip install -r requirements.txt 
30
</pre>
31
# Download and install Flux model
32
** https://huggingface.co/Comfy-Org/flux1-schnell/blob/main/flux1-schnell-fp8.safetensors
33
# Copy model to @models/checkpoints@ directory:
34
<pre>
35
mv ~/Downloads/flux1-dev-fp8.safetensors /opt/comfyui/comfyui/models/checkpoints
36
</pre>
37
# Base ComfyUI and Flux model is now installed. To run:
38
<pre>
39
$ cd /opt/comfyui/comfyui
40
$ ../bin/python3 main.py 
41
</pre>
42
43 2
h2. Install ComfyUI Manager
44
45
ComfyUI Manager adds some nice features to the UI. The most useful feature is the one that will list unknown nodes from a workflow graph along with links to where to install the node.
46
47
# Install ComfyUI Manager:
48
<pre>
49
$ cd /opt/comfyui/comfyui/custom_nodes
50
$ git clone https://github.com/ltdrdata/ComfyUI-Manager
51
$ cd ComfyUI-Manager
52
$ sudo /opt/comfyui/bin/pip install -r requirements.txt
53
</pre>
54
# Restart ComfyUI to use.
55
56 1
h2. Resources
57
58 2
h3. Install Guides
59
60 1
* https://comfyui-wiki.com/install/install-comfyui/install-comfyui-on-linux
61
* https://comfyui-wiki.com/tutorial/advanced/flux1-comfyui-guide-workflow-and-examples
62 2
63
h3. Nodes
64
65
* https://github.com/ltdrdata/ComfyUI-Impact-Pack
66
* https://github.com/city96/ComfyUI-GGUF
67
* https://github.com/pythongosssss/ComfyUI-Custom-Scripts
68
* https://github.com/ssitu/ComfyUI_UltimateSDUpscale
69
* https://github.com/SeargeDP/ComfyUI_Searge_LLM
70
* https://github.com/rgthree/rgthree-comfy
71
* https://github.com/cubiq/ComfyUI_essentials
72
* https://github.com/chrisgoringe/cg-image-picker
73
* https://github.com/nkchocoai/ComfyUI-SaveImageWithMetaData
74
* https://github.com/Smirnov75/ComfyUI-mxToolkit
75
* https://github.com/edelvarden/ComfyUI-ImageMetadataExtension