ptrblck:

import torch
d = torch.utils.data.IterableDataset



Hi @ptrblck Thank you so much for your reply. I can able to run the given piece of code. Even I cannot see this issue without fairseq. I think then this is much more relevant to fairseq  then and raising the issue there again.
Your support and time is much appreciated. Thank you again