> ## Documentation Index
> Fetch the complete documentation index at: https://docs.comfy.org/llms.txt
> Use this file to discover all available pages before exploring further.

# MultiGPU_WorkUnits - ComfyUI Built-in Node Documentation

> Complete documentation for the MultiGPU_WorkUnits node in ComfyUI. Learn its inputs, outputs, parameters and usage.

# COMFYUI MultiGPU CFG Split Node

## Overview:

The MultiGPU CFG Split Node allows diffusion processing to occur using multiple GPUs installed in the same system. Performance results are workflow dependent, but speedups of up to 1.95x have been measured in common workflows.

## Key Details:

Mixing different GPU types is not supported, the installed GPUs must be the same (ie 2x 5090, or 2x 5080, etc.)

ComfyUI will automatically detect multiple installed GPUs at startup.

## Supported GPUs:

Any homogeneous dual GPU setups with Ampere+ architecture (e.g 2 x 3090 or 2 x RTX6000 Pro)

## Supported Models:

* LTX-2.3
* WAN 2.2
* FLUX.2 Klein - Base Versions
* Z-Image
* Stable Diffusion 3.5 Large
* Hunyuan Video
* Qwen-Image-Edit-2511
* Hunyuan-3D-v2.1
* SDXL

## Inputs

| Parameter  | Data Type | Required | Range                                   | Description                                                                                                                               |
| ---------- | --------- | -------- | --------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- |
| `model`    | MODEL     | Yes      | N/A                                     | The model to prepare for MultiGPU CFG splitting before sampling.                                                                          |
| `max_gpus` | INT       | Yes      | Minimum: 1<br />Step: 1<br />Default: 2 | The maximum number of identical GPUs to use for splitting the workload. Set this to the number of matching GPUs installed in your system. |

## Outputs

| Output Name | Data Type | Description                                                                    |
| ----------- | --------- | ------------------------------------------------------------------------------ |
| `MODEL`     | MODEL     | The model prepared for MultiGPU CFG splitting, ready for accelerated sampling. |

## Node:

<img src="https://mintcdn.com/dripart/IIhZk7lIscrNou-I/images/built-in-nodes/MultiGPU_WorkUnits/image1.png?fit=max&auto=format&n=IIhZk7lIscrNou-I&q=85&s=3d4e6500bfaebc81f4b6d5bdd3e4244a" alt="image1.png" width="1496" height="1120" data-path="images/built-in-nodes/MultiGPU_WorkUnits/image1.png" />\
The max\_gpus field should be set to the maximum number of identical GPUs installed in the system.

**Node placement:**  The MultiGPU CFG Split needs to be placed between the Model Load node and Sampling node. If other nodes are connected to the model output of the model loader node, the MultiGPU CFG should be the last node in the chain before the Sampling node.

<img src="https://mintcdn.com/dripart/IIhZk7lIscrNou-I/images/built-in-nodes/MultiGPU_WorkUnits/image2.png?fit=max&auto=format&n=IIhZk7lIscrNou-I&q=85&s=ca6947270d328fb07b6f01ff0821946d" alt="image2.png" width="624" height="112" data-path="images/built-in-nodes/MultiGPU_WorkUnits/image2.png" />

**Workflow Requirements:** The node works by splitting the diffusion workflow at the CFG level, due to this, the CFG in the workflow must be greater than CFG=1. Distilled workflows which require a CFG =1 will not show a performance benefit when using the MultiGPU CFG Split node to run on multiple GPUs.

## Verifying Multi-GPU Utilization

When running a workflow with MultiGPU CFG Split enabled, you can look at the Windows Task Manager and select the performance category\
<img src="https://mintcdn.com/dripart/IIhZk7lIscrNou-I/images/built-in-nodes/MultiGPU_WorkUnits/image3.webp?fit=max&auto=format&n=IIhZk7lIscrNou-I&q=85&s=4d737f7c1baf3bf538f95f09d935f06e" alt="image3.png" width="910" height="370" data-path="images/built-in-nodes/MultiGPU_WorkUnits/image3.webp" />\
<img src="https://mintcdn.com/dripart/IIhZk7lIscrNou-I/images/built-in-nodes/MultiGPU_WorkUnits/image4.webp?fit=max&auto=format&n=IIhZk7lIscrNou-I&q=85&s=d57d9ddfd06dc4dcbbb0c259e5c1ac5e" alt="image4.png" width="979" height="1292" data-path="images/built-in-nodes/MultiGPU_WorkUnits/image4.webp" />\
You should see activity on both installed GPUs while the sampler is running in the workflow.

## Sample Multi-GPU Workflow: (Wan 2.2 FP8)

[Sample workflow (Wan 2.2 FP8)](https://raw.githubusercontent.com/Comfy-Org/embedded-docs/refs/heads/main/comfyui_embedded_docs/docs/MultiGPU_WorkUnits/asset/video_wan2_2_14B_t2v_mGPU.json)

***

**Source fingerprint (SHA-256):** `7293ee785e29aea9a1a70a10444b99e89fb23c866505628ec57c209a2b8aaee0`
