seed_everything should seed each RNG differently #9831
YodaEmbedding
started this conversation in
Idea pool
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Given an initial seed value,
seed_everything
should seed each oftorch
,numpy
, andrandom
with a unique seed.Rationale: If two generators using the same algorithm use the same seed, they will generate the same random numbers as each other. A user might do something like:
See also:
numpy.random.SeedSequence
which allows generation of multiple RNGs with different seeds from a common initial seed.Beta Was this translation helpful? Give feedback.
All reactions