You might have hit a legacy bug. If your code is working with the current version, I wouldn’t care too much about it. Is there a specific reason you need to use older PyTorch versions? I would still recommend to use the latest release.