You can’t just run Pyramid Flow on your current ComfyUI setup. But don’t worry! I’ve got an easy step-by-step guide to help you install it without any Problem.
Step 1: Install Anaconda
- Go to the Anaconda website and download the software. https://www.anaconda.com/download/success
- Install it, but make sure not to check the box for the PATH environment variable during installation. Skipping this step prevents issues with other programs on your computer.
Step 2: Install a Fresh Copy of ComfyUI
First, you’ll need a fresh installation of ComfyUI. Here’s how to do it:
- Open the Command Prompt on your computer.
- Go to the folder where you want to install ComfyUI. Type this command
- Has my saving location is Drive E and Folder Pyramid
E:\pyramid
Now, type this command to clone ComfyUI from GitHub:
git clone https://github.com/comfyanonymous/ComfyUI.git
Next, enter the ComfyUI folder by typing
cd ComfyUI
Step 3: Create a Python Environment
Open Command Prompt again and create a new environment using Python 3.8.10:
conda create -n video python=3.8.10
You can name your environment whatever you like. I’m calling mine ‘video’
Activate the new environment:
conda activate video
Install the required packages:
pip install -r requirements.txt
Finally, install PyTorch and other important libraries:
conda install pytorch==2.2.2 torchvision==0.17.2 torchaudio==2.2.2 pytorch-cuda=12.1 -c pytorch -c nvidia
Now Open a ComfyUI
python main.py
Load a Workflow
Install The ComfyUI PyramidFlow node:
https://github.com/AIFSH/PyramidFlow-ComfyUI
Another Node I created For This Workflow
https://github.com/comfyuiblog/Comfyui-fast
And that’s it! Now you’re all set to generate videos with Pyramid Flow in ComfyUI.