Training reproducibility? #845
Unanswered
alexander-soare
asked this question in
Q&A
Replies: 1 comment
-
@alexander-soare I've never wanted to sacrifice performance for complete determinism so have never gone all the way, and seems to suffer regressions in PyTorch/vida ... But I would accept a PR with a |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Tried training the same model twice and noticed different figures each time. I do see this
random_seed(args.seed, args.rank)
in the training script. Any other reasons I'm not getting reproducibility?I had a look at
random_seed
and found that changing it to this did the trick:I don't know which bit does it, and I got that from some Kaggle competition ages ago :)
Beta Was this translation helpful? Give feedback.
All reactions