Sygil-Dev / stable-diffusion

GNU Affero General Public License v3.0
1.72k stars 148 forks source link

Multi-GPU #102

Closed ghzgod closed 2 years ago

ghzgod commented 2 years ago

Thank you for this lovely project! Are there any plans to allow for more than 1 GPU? There are a few transformer projects (like aitextgen) that allow you to combine 2 or more GPUs to perform work. Thank you in advance.

hlky commented 2 years ago

combine

Assuming you mean to be able to generate larger images, maybe, will look into it

If you want to just generate on all your gpus see Discussion #217 for a workaround

There's an active discussion about this on the dev repo so I will close this issue and the issue can be discussed there

ghzgod commented 2 years ago

Not for larger images, but to combine the VRAM of my GPUs together. Because I notice for example when I run RealESRGAN, I can only run it once before I get out of memory errors. The memory never frees up after the tool is ran.