city96 / ComfyUI_NetDist

Run ComfyUI workflows on multiple local GPUs/networked machines.
Apache License 2.0
311 stars 30 forks source link

I'm new. Can we generate a images by using 2 GPUs at once ? As a comfyUI's default workflow by use case? Thank you #9

Closed Erwin11 closed 9 months ago

Erwin11 commented 9 months ago

I'm new. I'm curious. Can we generate a images by using 2 GPUs at once ? As a comfyUI's default workflow by use case? Thank you

Or it is use for generate batch images?
like generate 4 images at once, we can use multi gpu to separate tasks to each GPU and do it ? It seems like that .

city96 commented 9 months ago

This repo can only do batch processing, so with two GPUs you will get two output images. As you say, with 4 GPUs you can split them - 2 on each GPU, 3 on the first 1 on the second, etc. You can also change the batches, doing multiple images on the same GPU.

I want to try and make it so two GPUs can work on the same image via tiled sampling, but that is currently not implemented.

Erwin11 commented 9 months ago

I get it. Thanks for your hard work!