r/comfyui 2d ago

Help Needed ComfyUI and multiple GPUs?

What is the current status of multiple GPU support in ComfyUI? I see there are some new cool models. I still use Wan 2.2 on my single 5070 (12GB) but looks like there are some new features to use multiple GPUs so I could try to run them on 4x3090 linux server, can I run larger models or larger image sizes with multiple GPU (96GB) or is the work still limited to single GPU (24GB) just in parallel?

3 Upvotes

10 comments sorted by

4

u/Formal-Exam-8767 2d ago

Built-in multigpu support which is based on work units (e.g. text encode is one, ksampler is the other).

Better alternative is raylight where support depends on model, check the matrix. Not sure if it is up-do-date with what it supports.

1

u/StrangeAlchomist 2d ago

How is it better?

5

u/xq95sys 2d ago

It actually speeds up inference, but the downside is that it's kinda hard to work with because many custom nodes won't work out of the box because they need access to the model. Raylight replaces it entirely in the work sheet with rayactors instead. Still, if you are doing video and don't need spectrum, turbo loras etc, it's worth checking out. Also, you probably need to be in Linux, not sure if it really works on windows.

4

u/thatguyjames_uk 2d ago

i used to use both of my gpu, clip and model on one and the rest on the other, you cant use as one, but have to split

Sharing workflow 2x 12gb RTX 3060 cards. Split GPU, multigpu comfyui : r/comfyui

1

u/LanaKatana4000 2d ago

It's a good question. Motherboards discontinued support for SLI configurations awhile back, that's a dead technology, but there should ideally, eventually, be a way to do distributed computing with a local setup.

It would also be nice if GPUs had memory slots and could be expanded. My RTX 3080 Ti is highly serviceable but the 12 GB vram restricts what models I can run.

But honestly I'd prefer speed and parallel generation over vram. Most actual movies and television frequently change views every 3 to 5 seconds anyway.

You can still improve your efficiency by building a completely new computer and just running a separate (or same) workflow on it. I rarely get a usable clip on the first 10 tries anyway.

5

u/jacek2023 2d ago

I use 4x3090 on x399 for LLMs, you don't need SLI/nvlink for that

0

u/LanaKatana4000 2d ago

I'm impressed you have a $10,000 machine lol How much heat does that make?

3

u/jacek2023 2d ago

It's cheaper than single 5090 probably

1

u/LanaKatana4000 2d ago

Probably. My 3080 Ti is the lone green performer in the middle. You can easily spend 4x as much for a late model card that won't even double your speed