causal-learn icon indicating copy to clipboard operation
causal-learn copied to clipboard

multi-threading support

Open lockmatrix opened this issue 2 years ago • 2 comments

I found algorithm takes a long time to run, maybe should add multi-threading support

lockmatrix avatar Aug 11 '22 05:08 lockmatrix

Yes, you are totally right. At the same time, regarding some tests, the theoretical guarantees might not hold when being performed in a parallel manner. Please feel free to let us know if you have any proposals on adding multi-threading support, which will certainly be greatly appreciated :)

kunwuz avatar Aug 11 '22 15:08 kunwuz

I found on Macbook M2, fisherz can reach 550-700% CPU, is it a single thread algorithm?

lockmatrix avatar Aug 12 '22 02:08 lockmatrix

I find https://github.com/cmu-phil/tetrad which support multi-threading

lockmatrix avatar Aug 14 '22 10:08 lockmatrix