How to Reproduce Pytorch Code?
Published:
We do not guarantee perfectly reproducible results across PyTorch releases or platforms. Additionally, results may not be reproducible between CPU and GPU runs, even with identical seeds.
You can take some steps to limit the number of sources of non-deterministic behavior for a given platform, device, and PyTorch version.