Closed mikolmogorov closed 1 year ago
We are currently forcing fork start method in metaphase.py: multiprocessing.set_start_method("fork").
fork
metaphase.py
multiprocessing.set_start_method("fork")
This was originally done so that all processes inheirit global class object with arguments at params.py. But there should be better way to do that.
params.py
Using fork on Mac breaks some visualization things, like matplotlib or graphviz backends.
matplotlib
graphviz
Fixed in 5d8357d
We are currently forcing
fork
start method inmetaphase.py
:multiprocessing.set_start_method("fork")
.This was originally done so that all processes inheirit global class object with arguments at
params.py
. But there should be better way to do that.Using
fork
on Mac breaks some visualization things, likematplotlib
orgraphviz
backends.