DeepFaceLab_Linux icon indicating copy to clipboard operation
DeepFaceLab_Linux copied to clipboard

Uses 100% CPU simultaneously with GPU

Open marshalleq opened this issue 2 years ago • 4 comments

Has anyone else found this? I don't recall this happening in the windows version.

Thanks.

marshalleq avatar Jul 21 '23 03:07 marshalleq

I got nothing for this one.....my CPU is 91% idle while my GPU is chugging away training at the moment.

gteachey avatar Jul 22 '23 09:07 gteachey

Yeah crazy right? I know there is that question in the startup script, that says how many CPU cores to use - which I usually max out - I always figured it was only for tasks that GPU doesn't do, but maybe it doesn't work like that? Maybe it was windows that was broken.

marshalleq avatar Jul 22 '23 10:07 marshalleq

OK, I've confirmed that this directly changes when selecting how many CPU cores you want to use in the startup script. While that might sound obvious, note that I have not selected to use CPU for training, only GPU. So it would seem to me that something in the script is enabling the CPU for training without user input - unless there is some other CPU usage that is bugged. I can see clearly in top that the cpu is in use by python3.9, but that's about it so far.

marshalleq avatar Jul 23 '23 01:07 marshalleq

I have the same problem on Ubuntu22.04, my graphics card RTX4090 only uses 396MB of video memory

tailangjun avatar Sep 05 '23 07:09 tailangjun