under if __name__ == '__main__'
i am calling prepare_dataloader and inside prepare_dataloader i have torch.utils.data.DataLoader(dataset, batch_size=32, num_workers=8)
so yeah torch.utils.data.DataLoader(dataset, batch_size=32, num_workers=8) is already under if __name__ == '__main__'