And it’s beautiful isn’t it? 
Also DataLoader provides several arguments like num_workers to use multi processing for the data loading and preprocessing, shuffle etc.
This 423 might be a good starter for further questions.