DeepFaceLab icon indicating copy to clipboard operation
DeepFaceLab copied to clipboard

Multi GPU VRAM issue with UD models

Open gravis778 opened this issue 6 years ago • 1 comments

THIS IS NOT TECH SUPPORT FOR NEWBIE FAKERS POST ONLY ISSUES RELATED TO BUGS OR CODE

Expected behavior

I have 2 GPUs with different amounts of vram (one 8 gig card, one 6 gig card). When running a non-UD model, the vram on the 8 gig card is filled, then the memory on the 6 gig card is filled. The expected behavior is for UD models to behave similar with vram

Actual behavior

I want to emphasize this only happens in UD models, regardless of batch size or resolution. In running in multiGPU mode, both the 8 gig card and the six gig card are only using 5 gig of vram. When running a non-UD model, the 8 gig card uses approximately 6.5-7 gig of vram, and the 6 gig card uses 6 gig, so this is unique to UD models. When I run in single GPU mode, the 7 gig card will use between 6.5-7 gig vram, so it seems to be splitting the workload evenly between the cards rather than maximizing each card

Steps to reproduce

I am running an RTX 2070 OC Super with 8 gig vram as gpu 0, and an RTX 2060 with 6 gig vram in GPU 1. The issue occurs when doing any UD model and selecting GPU 0,1

Other relevant information

DF256 WF UD_SAEHD_summary.txt Prebuilt Windows Binary July 21, 2020 Windows 10 64 bit version 1909, build 18363.836 Nvidia Game Ready Driver Version 451.67 DF256 WF UD_SAEHD_summary.txt

gravis778 avatar Aug 08 '20 12:08 gravis778

Did you ever find the answer? If so, would you mind sharing it and closing this issue?

ghost avatar Jun 08 '23 23:06 ghost