Setting the seeds at the beginning of your main script should work if you are concerned about the PRNG usage in other files/modules. The DataLoader object might be a bit more tricky so take a look at the DataLoader section in the Reproducibility Docs.