Hey,
You can use torch.seed() to get the current seed.
You might want to check the reproducibility part of the doc though: https://pytorch.org/docs/stable/notes/randomness.html 108 as having the seed most likely won’t allow you to reproduce the result if you’re using a different machine or using ops that are not deterministic.