Pairing a 5080 with a 10gb 3080 (Comfy)?
I was considering selling my old 3080, however I then wondered if maybe I might be able to use it alongside my 5080?
Is this possible and if so, would it function as 26gb of vram, or would it function more like 16gb + 10gb?
I have 128GB of RAM also and want to try to maximise what I've got, especially as the hardware market is so volatile right now. Thanks.
About this post
- Posted
- Archived
- Score
- 1 · 60% up
- Kind
- Text
- ID
- 1phlrhl
9 comments
So much wrong information in the comments. Let me get some things straight:
You can absolutely combine your VRAM in ComfyUI, however not in the way you would expect, and it is not straightforward.
One poster mentioned MultiGPU which is accurate. This will allow you to load multiple models on separate GPUs. For example for Z-Image you could load the diffusion model on your 5080 and the text encoder on the 3080. This will generally run faster as it avoids having to swap out the models between steps.
Another option is https://github.com/komikndr/raylight which will allow you to used the COMBINED VRAM of both cards to load a single model. This is helpful for a model like Wan 2.1 because you can load a higher precision model into VRAM entirely without having to use block swapping. However there are many cases where it actually slows down things, for example in Wan 2.2 which uses split high / low noise models.
For LLMs it is mostly straightforward as tools like Ollama will automatically split layers amongst GPUs. Still you might run into issues as 30xx vs. 50xx architecture is vastly different and might not always play nice together.
*Tldr; Yes it is possible. But the benefits may be limited, depending on the situation*
Amazing, thank you for the in depth explanation 🤙
you may want to look into https://github.com/pollockjj/ComfyUI-MultiGPU and this post https://www.reddit.com/r/comfyui/comments/1n1bw2l/comfyuimultigpu_distorch_20_unleash_your_compute/
You need to look up videos or articles about it. There’s ways to do properly. Can’t remember the video. But one showed the proper way to setup dual plus GPU’s for running AI models. But he had to do something to help overlap the two VRAMs to work without creating issues.
comfy or LLM?
I don’t remember. I was watching a lot of videos about PC building that day for AI images and LLM was shown. But I believe it was in general for the AI models. His main talk was about linking the VRAM for the AI.
It's 16 + 10, but not 26. You can load some models on the second GPU. I load the clip models on my 3080 10gb. In this way it doesn't use much system ram.
No, and in general, no.
It requires a special motherboard and then SLI requires two identical cards..and then pytorch has huge problems differentiating between these with most cpus.
SLI is for games, it isn't relevant here.