I am new about using CUDA. I am using the following code for seeding:
use_cuda = torch.cuda.is_available()
    if use_cuda:
        device = torch.device("cuda:0")
        torch.cuda.manual_seed(SEED)
        cudnn.deterministic = True
        cudnn.benchmark = False

that is correct if I use this code for the network?
if use_cuda:
        net.cuda()
        net = torch.nn.DataParallel(net)
        cudnn.benchmark = True

I mean setting cudnn.benchmark, for seeding False and then for network True. They are related?