Hi @albanD
Thank you for your response. I have cross checked the PyTorch version
>>> import torch
>>> print(torch.__version__)
1.5.0+cu92

I’m using fairseq-master version with Pytorch 1.5. This same issue is also happening fairseq-0.9 version