For Nvidia
50 series (Blackwell) GPUs, please refer to the System Requirements section to ensure your system meets the requirements for ComfyUI.- Windows
- Linux
- MacOS
Clone the repository
Copy
Ask AI
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.
CopyAsk AI
conda create -n comfyenv conda activate comfyenv -
Install GPU Dependencies
Nvidia
Alternatively, you can install the nightly version of PyTorch.CopyAsk AIconda install pytorch torchvision torchaudio pytorch-cuda=12.1 -c pytorch -c nvidiaInstall Nightly
Install Nightly version (might be more risky)CopyAsk AIconda install pytorch torchvision torchaudio pytorch-cuda=12.1 -c pytorch-nightly -c nvidiaAMD
Alternatively, you can install the nightly version of PyTorch.CopyAsk AIpip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/rocm6.0Install Nightly
Install Nightly version (might be more risky)CopyAsk AIpip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/rocm6.0Mac ARM Silicon
CopyAsk AIconda install pytorch-nightly::pytorch torchvision torchaudio -c pytorch-nightly -
CopyAsk AI
cd ComfyUI pip install -r requirements.txt -
Start the application
CopyAsk AI
cd ComfyUI python main.py
Clone the repository
Copy
Ask AI
git clone git@github.com:comfyanonymous/ComfyUI.git
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.
CopyAsk AI
conda create -n comfyenv conda activate comfyenv -
Install GPU Dependencies
Nvidia
Alternatively, you can install the nightly version of PyTorch.CopyAsk AIconda install pytorch torchvision torchaudio pytorch-cuda=12.1 -c pytorch -c nvidiaInstall Nightly
Install Nightly version (might be more risky)CopyAsk AIconda install pytorch torchvision torchaudio pytorch-cuda=12.1 -c pytorch-nightly -c nvidiaAMD
Alternatively, you can install the nightly version of PyTorch.CopyAsk AIpip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/rocm6.0Install Nightly
Install Nightly version (might be more risky)CopyAsk AIpip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/rocm6.0Mac ARM Silicon
CopyAsk AIconda install pytorch-nightly::pytorch torchvision torchaudio -c pytorch-nightly -
CopyAsk AI
cd ComfyUI pip install -r requirements.txt -
Start the application
CopyAsk AI
cd ComfyUI python main.py
Clone the repository
Open Terminal application.Copy
Ask AI
git clone git@github.com:comfyanonymous/ComfyUI.git
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.
CopyAsk AI
conda create -n comfyenv conda activate comfyenv -
Install GPU Dependencies
Nvidia
Alternatively, you can install the nightly version of PyTorch.CopyAsk AIconda install pytorch torchvision torchaudio pytorch-cuda=12.1 -c pytorch -c nvidiaInstall Nightly
Install Nightly version (might be more risky)CopyAsk AIconda install pytorch torchvision torchaudio pytorch-cuda=12.1 -c pytorch-nightly -c nvidiaAMD
Alternatively, you can install the nightly version of PyTorch.CopyAsk AIpip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/rocm6.0Install Nightly
Install Nightly version (might be more risky)CopyAsk AIpip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/rocm6.0Mac ARM Silicon
CopyAsk AIconda install pytorch-nightly::pytorch torchvision torchaudio -c pytorch-nightly -
CopyAsk AI
cd ComfyUI pip install -r requirements.txt -
Start the application
CopyAsk AI
cd ComfyUI python main.py