Hi,
You can check the note on reproducibility in the doc here: https://pytorch.org/docs/stable/notes/randomness.html 30
There are many reasons that could lead to it (or any other part of your code) to be non deterministic.