2024-10-04 03:18:22 +03:00
2024-08-29 19:48:48 -04:00
2024-09-20 03:16:23 -04:00
2024-08-17 21:31:04 -04:00
2024-08-29 19:48:48 -04:00
2023-01-16 22:37:14 -05:00
2023-08-14 16:54:30 -04:00
2023-04-10 03:37:46 -04:00
2024-07-01 13:51:00 -04:00
2024-10-04 01:54:20 +03:00
2024-08-15 11:21:11 -04:00
2024-10-04 02:43:27 +03:00
2024-10-03 18:23:10 +03:00

ComfyUI-cpu

ComfyUI-cpu is a trimmed down version of ComfyUI that only uses the cpu. I needed to run comfyui on cpu only device so I created this fork of ComfyUI optimized for cpu usage. The most powerful and modular diffusion model GUI and backend.

Fast installation

git clone https://github.com/ArdeniusAI/ComfyUI-cpu.git

cd ComfyUI-cpu

./install_comfyui-cpu.sh

once installed then you can cd into comfyui-cpu and run the following to start:

./start_comfyui-cpu.sh

Manual installation

1. Git clone this repo

git clone https://github.com/ArdeniusAI/ComfyUI-cpu.git

2. cd into ComfyUI folder

cd ComfyUI

3. download and copy your models and vae into

Recommended for SD1.5 LCM for 3-step generation and good images download the below workflow and models.

Download SD1.5 LCM models, lora, and workflow for ComfyUI-cpu

4. create a virtual environment

python -m venv venv

5. install torch

pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu

And install it again with the command above.

6. install Dependencies

Install the dependencies by opening your terminal inside the ComfyUI folder and:

pip install -r requirements.txt

After this you should have everything installed and can proceed to running ComfyUI.

7. in ComfyUI folder then Run

python main.py --cpu --cpu-vae

8. open it in your browser

http://localhost:8188

Shortcuts

Keybind Explanation
Ctrl + Enter Queue up current graph for generation
Ctrl + Shift + Enter Queue up current graph as first for generation
Ctrl + Alt + Enter Cancel current generation
Ctrl + Z/Ctrl + Y Undo/Redo
Ctrl + S Save workflow
Ctrl + O Load workflow
Ctrl + A Select all nodes
Alt + C Collapse/uncollapse selected nodes
Ctrl + M Mute/unmute selected nodes
Ctrl + B Bypass selected nodes (acts like the node was removed from the graph and the wires reconnected through)
Delete/Backspace Delete selected nodes
Ctrl + Backspace Delete the current graph
Space Move the canvas around when held and moving the cursor
Ctrl/Shift + Click Add clicked node to selection
Ctrl + C/Ctrl + V Copy and paste selected nodes (without maintaining connections to outputs of unselected nodes)
Ctrl + C/Ctrl + Shift + V Copy and paste selected nodes (maintaining connections from outputs of unselected nodes to inputs of pasted nodes)
Shift + Drag Move multiple selected nodes at the same time
Ctrl + D Load default graph
Alt + + Canvas Zoom in
Alt + - Canvas Zoom out
Ctrl + Shift + LMB + Vertical drag Canvas Zoom in/out
P Pin/Unpin selected nodes
Ctrl + G Group selected nodes
Q Toggle visibility of the queue
H Toggle visibility of history
R Refresh graph
Double-Click LMB Open node quick search palette
Shift + Drag Move multiple wires at once
Ctrl + Alt + LMB Disconnect all wires from clicked slot

Ctrl can also be replaced with Cmd instead for macOS users

S
Description
No description provided
Readme GPL-3.0
21 MiB
0 Stars 1 Watchers 0 Forks
Languages
Python 98.9%
Jupyter Notebook 1%