# ComfyUI-Distributed **Repository Path**: longlovemeng/ComfyUI-Distributed ## Basic Information - **Project Name**: ComfyUI-Distributed - **Description**: No description available - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-08-14 - **Last Updated**: 2025-08-14 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README


Video Tutorial Setup Guides Workflows Donation Twitter

> **A powerful extension for ComfyUI that enables distributed and parallel processing across multiple GPUs and machines. Generate more images and videos and accelerate your upscaling workflows by leveraging all available GPU resources in your network and cloud.** ![Clipboard Image (7)](https://github.com/user-attachments/assets/66aaadef-f195-48a1-a368-17dd0dae477d) --- ## Key Features #### Parallel Workflow Processing - Run your workflow on multiple GPUs simultaneously with varied seeds, collect results on the master - Scale output with more workers - Supports images and videos #### Distributed Upscaling - Accelerate Ultimate SD Upscale by distributing tiles across GPUs - Intelligent distribution - Handles single images and batches #### Ease of Use - Auto-setup local workers; easily add remote/cloud ones - Convert any workflow to distributed with 2 nodes - JSON configuration with UI controls --- ## Worker Types ComfyUI_temp_khvcc_00034_@0 25x ComfyUI Distributed supports three types of workers: - **Local Workers** - Additional GPUs on the same machine (auto-configured on first launch) - **Remote Workers** - GPUs on other computers in your network - **Cloud Workers** - GPUs hosted on a cloud service like Runpod, accessible via secure tunnels > For detailed setup instructions, see the [setup guide](/docs/worker-setup-guides.md) --- ## Requirements - ComfyUI > Note: Desktop app not currently supported - Multiple NVIDIA GPUs > No additional GPUs? Use [Cloud Workers](https://github.com/robertvoy/ComfyUI-Distributed/blob/main/docs/worker-setup-guides.md#cloud-workers) - That's it --- ## Installation 1. **Clone this repository** into your ComfyUI custom nodes directory: ```bash git clone https://github.com/robertvoy/ComfyUI-Distributed.git ``` 2. **Restart ComfyUI** - If you'll be using remote/cloud workers, add `--enable-cors-header` to your launch arguments on the master 3. Read the [setup guide](/docs/worker-setup-guides.md) for adding workers --- ## Official Sponsor [](https://get.runpod.io/0bw29uf3ug0p) Join Runpod with [this link](https://get.runpod.io/0bw29uf3ug0p) and unlock a special bonus. --- ## Workflow Examples ### Basic Parallel Generation Generate multiple images in the time it takes to generate one. Each worker uses a different seed. ![Clipboard Image (6)](https://github.com/user-attachments/assets/9598c94c-d9b4-4ccf-ab16-a21398220aeb) > [Download workflow](/workflows/distributed-txt2img.json) 1. Open your ComfyUI workflow 2. Add **Distributed Seed** → connect to sampler's seed 3. Add **Distributed Collector** → after VAE Decode 4. Enable workers in the UI 5. Run the workflow! ### Parallel WAN Generation Generate multiple videos in the time it takes to generate one. Each worker uses a different seed. ![Clipboard Image (5)](https://github.com/user-attachments/assets/5382b845-833b-43b7-b238-a91c5579581a) > [Download workflow](/workflows/distributed-wan.json) 1. Open your WAN ComfyUI workflow 2. Add **Distributed Seed** → connect to sampler's seed 3. Add **Distributed Collector** → after VAE Decode 4. Add **Image Batch Divider** → after Distributed Collector 5. Set the `divide_by` to the number of GPUs you have available > For example: if you have a master and 2x workers, set it to 3 7. Enable workers in the UI 8. Run the workflow! ### Distributed Upscaling Accelerate Ultimate SD Upscaler by distributing tiles across multiple workers, with speed scaling as you add more GPUs. ![Clipboard Image (3)](https://github.com/user-attachments/assets/ffb57a0d-7b75-4497-96d2-875d60865a1a) > [Download workflow](/workflows/distributed-txt2img.json) 1. Load your image 2. Upscale with ESRGAN or similar 3. Connect to **Ultimate SD Upscale Distributed** 4. Configure tile settings > If your GPUs are similar, set `static_distribution` to true; otherwise, false 5. Enable workers for faster processing --- ## FAQ
Does it combine VRAM of multiple GPUs? No, it does not combine VRAM of multiple GPUs.
Does it speed up the generation of a single image or video? No, it does not speed up the generation of a single image or video. Instead, it enables the generation of more images or videos simultaneously. However, it can speed up the upscaling of a single image when using the Ultimate SD Upscale Distributed feature.
Does it work with the ComfyUI desktop app? Currently, it is not compatible with the ComfyUI desktop app.
Can I combine my RTX 5090 with a GTX 980 to get faster results? Yes, you can combine different GPUs, but performance is optimized when using similar GPUs. A significant performance imbalance between GPUs may cause bottlenecks. For upscaling, setting `static_distribution` to `false` allows the faster GPU to handle more processing, which can mitigate some bottlenecks. Note that this setting only applies to upscaling tasks.
Does this work with cloud providers? Yes, it is compatible with cloud providers. Refer to the setup guides for detailed instructions.
Can I make this work with my Docker setup? Yes, it is compatible with Docker setups, but you will need to configure your Docker environment yourself. Unfortunately, assistance with Docker configuration is not provided.
--- ## Disclaimer This software is provided "as is" without any warranties, express or implied, including merchantability, fitness for a particular purpose, or non-infringement. The developers and copyright holders are not liable for any claims, damages, or liabilities arising from the use, modification, or distribution of the software. Users are solely responsible for ensuring compliance with applicable laws and regulations and for securing their networks against unauthorized access, hacking, data breaches, or loss. The developers assume no liability for any damages or incidents resulting from misuse, improper configuration, or external threats. --- ## Support the Project If my custom nodes have added value to your workflow, consider fueling future development with a coffee! Your support helps keep this project thriving. Buy me a coffee at: https://buymeacoffee.com/robertvoy