style-based-gan-pytorch
style-based-gan-pytorch copied to clipboard
Uses only 1 GPU instead of four
I run training on four gpu gtx2080ti but training does not start and the error falls Cuda Out of memory GPU: 0, I looked and saw that the program uses only 1 GPU instead of 4, how to fix it?
By default train script will use all available gpus using nn.DataParallel. Could you re-check your gpu settings, for example using nn.DataParallel?