Closed luiarthur closed 3 years ago
Currently, examples/Ball_Drop/ball_drop_1_parallel_chains contains tests that fail occasionally on MacOS and Windows.
examples/Ball_Drop/ball_drop_1_parallel_chains
I suspect the issues are related to parallel random seed generation or the use of multiprocessing.
multiprocessing
Possible fixes are
multiprocess
rng = np.random.default_rng(seed)
fixed using fix 1. above. Code change pushed to dev branch.
Currently,
examples/Ball_Drop/ball_drop_1_parallel_chains
contains tests that fail occasionally on MacOS and Windows.I suspect the issues are related to parallel random seed generation or the use of
multiprocessing
.Possible fixes are
multiprocessing
withmultiprocess
.rng = np.random.default_rng(seed)
instead of setting a seed within a child process.