Num_workers tesla v100

If I have two tesla v100 graphics cards. Do I need to configure num_workers> 0 in dalaloader or leave 0?

With respect to Dataloaders:
After going through the pytorch documentation for Dataloader, if you don’t assign the number of subprocesses for num_workers, it assign the task to the main process;
which means, the β€˜n’ number of workers assigned calls β€˜n’ subprocesses.

@slavavs I hope the above answer helps

1 Like