Hot AI News

AMD’s xDiT nodes let ComfyUI split one image or video across several GPUs

AMD published custom ComfyUI nodes that run xDiT, an open-source engine for diffusion transformers, with presets for Instinct and Radeon AI PRO GPUs.

AMD’s xDiT nodes let ComfyUI split one image or video across several GPUs
Image: AMD

AMD has published xDiT for ComfyUI, a set of custom nodes that lets the node-based image and video tool run a single generation across several GPUs. Users pick a model and a GPU count, then load a tested preset.

xDiT is an open-source inference engine for diffusion transformers. According to AMD, it can split one generation across multiple GPUs and shard large models so they fit in the combined memory of the cards. Its drawback is the number of runtime options, and the right mix depends on the model, the hardware and the GPU count. The new nodes are meant to remove that tuning step for a first run.

The ComfyUI Templates browser with the xdit-comfyui extension selected, showing the xDiT-Starter template
Image: AMD ROCm Blogs

Three nodes and a starter workflow

The package adds an xDiT Preset node, an xDiT Model node and an xDiT Sample node, plus nodes that save images and videos. AMD describes a left-to-right flow. The preset supplies a starting configuration, the model node loads the weights onto the GPUs, and the sample node generates the output. A bundled template called xDiT-Starter wires these together under the Templates browser in ComfyUI.

The preset node detects the installed GPUs, offers the GPU counts that have presets for that hardware, and fills in the model, parallel layout, precision, step caching, VAE and generation settings. AMD stresses that a preset is only a starting point. Every value can be overridden, or the preset node can be removed and the other two configured by hand. The sample node holds the prompt, seed, resolution, step count and guidance scale, and for video models also the frame count and frame rate.

The model node controls what happens after a run through a setting called Residency. The default, keep_gpu, leaves the model in GPU memory so the next run starts at once. park_cpu moves it to system memory, though AMD says not every configuration can be parked. release stops the worker and frees the memory. Torch compile is off by default, because it slows the first generation, and AMD suggests turning it on for repeated runs with the same settings. A sidebar lists loaded models, their GPUs and memory use, with buttons to unload them.

Advertisements

Who can run it today, and on what

The target is Linux with a ROCm environment supported by xDiT. AMD recommends a container route: clone the repository, then run scripts/docker/run_dev.sh with XDIT_PROFILE=instinct for Instinct gfx942 (MI300 series) or gfx950 (MI350 series) GPUs, or XDIT_PROFILE=rdna4 for RDNA 4 gfx1201 systems. The alternative is cloning the repository into ComfyUI/custom_nodes and installing requirements.txt, which needs ComfyUI 0.28.0 or newer. Gated models require a Hugging Face account and token. AMD gives no pricing, since the code is a free download, but the hardware it targets is not cheap or consumer-grade across the board.

The code is on GitHub under the Apache-2.0 license. The repository lists it as not yet available through the Comfy Registry, so installation is manual. It was also small at the time of reading, with 20 stars and 38 commits, against 2.8k stars for the xDiT engine itself, so this is an early release rather than a mature ecosystem plugin.

Why the presets matter more than the nodes

Splitting one request across GPUs is harder than running several requests side by side. Diffusion transformers have to exchange attention data between cards at every denoising step, and the best method varies with model size, resolution and interconnect. The xDiT README lists Ulysses and Ring attention, hybrid layouts, sharding, offload, parallel VAE, quantization and caching as separate levers.

AMD’s earlier post on RDNA 4 shows why defaults are valuable. It tests one, two and four Radeon AI PRO R9700S cards with 32GB each, so four cards give 128GB in total. Its text says doubling the GPU count does not halve generation time in general. In one example, a four-GPU FLUX.2-dev image edit took 93.2 seconds without step caching and 46.3 seconds with it, about a 2x gain from a single setting. These are AMD’s own measurements and have not been independently verified. The ComfyUI post itself contains no speed figures, so readers should not expect a particular gain from the nodes alone.

The presets come from a pinned snapshot of AMD’s Diffusion Model Inference benchmark configurations, layered on a validated xDiT container image so the GPU software stack stays unchanged. In the RDNA 4 screenshot, presets listed include Qwen-Image, Stable Diffusion 3.5, Wan 2.2 TI2V 5B and Z-Image. Whether other models or GPU counts have presets is something users have to check in the repository.

Advertisements

What the announcement leaves open

The post does not say how many models and GPU counts are covered, how the nodes compare with other multi-GPU approaches in ComfyUI, or whether NVIDIA hardware is supported through the same nodes. The repository mentions CUDA or ROCm environments, but AMD’s post only describes ROCm setups. For now, the practical audience is people who already own several Instinct or Radeon AI PRO cards and want a repeatable way to use them for video and image generation, with a first-run download and compile time that AMD says will be noticeable.

Sign Up for the Daily AI Pulse

One email a day. All the stories that matter.

Alex CarterAI News & Big Tech Correspondent

Alex Carter writes for Aiholics, keeping readers updated on the fast-paced world of AI and Big Tech.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may also like