Open mmckerns opened 9 years ago
Has this been implemented at the end?
I don't think so. The code (linked above) is obviously there and working... but it's currently part of mystic
. It probably should be moved to multiprocess
or pathos.multiprocessing
.
multiprocessing
has a known issue where certain global random states (and thus the seeds) are copied to all the spawned processes (most notably for anything depending onnumpy.random
). A potential fix for this is to provideprocessing
(thepathos
fork) orpathos.multiprocessing
with a "set random_state" function. Then optionally, provide some API extension to enable easy triggering of the "special" seeding (i.e. generating a new random state for each process).