Download Comfy UI, the most powerful and modular stable diffusion GUI and backend. Available for Windows, Linux, MacOS.
Pre-built Packages
Windows
Works on NVIDIA GPUs or CPUs. For others, please try the manual install.
Extract with 7-Zip,
Use run_nvidia_gpu
to run it using your NVIDIA GPU.
Use run_cpu
to run it using only your CPU.
Linux
Linux pre-built packages are not available yet. Please try the manual install.
MacOS
MacOS pre-built packages are not available yet. Please try the manual install.
Manual installation
Clone the repository:
git clone git@github.com:comfyanonymous/ComfyUI.git
If you have not installed Microsoft Visual C++ Redistributable, please install it here.
Install Dependencies
- Install Miniconda. This will help you install the correct versions of Python and other libraries needed by ComfyUI.
- Create an environment with Conda.
conda create -n comfyenv
conda activate comfyenv
- Create an environment with Conda.
- Install GPU Dependencies
- NVIDIA
conda install pytorch torchvision torchaudio pytorch-cuda=12.1 -c pytorch -c nvidia
- AMD
pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/rocm6.0
- Mac ARM Silicon
conda install pytorch-nightly::pytorch torchvision torchaudio -c pytorch-nightly
- NVIDIA
cd ComfyUI
pip install -r requirements.txt
Start the application
cd ComfyUI
python main.py