pymc-experimental icon indicating copy to clipboard operation
pymc-experimental copied to clipboard

Remove thread-unsafe multiprocessing code from `pathfinder.py`

Open jessegrabowski opened this issue 1 month ago • 2 comments

The Pathfinder code has some multiprocessing options that are not correctly handled. This was causing the CI to hang indefinitely, which isn't good. Pathfinder tests were disabled in #597, pending removal of this feature.

@aseyboldt should be a good resource for how to handle multiprocessing correctly with compiled pytensor functions.

jessegrabowski avatar Oct 29 '25 01:10 jessegrabowski

cc: @aphc14 @fonnesbeck

jessegrabowski avatar Oct 29 '25 01:10 jessegrabowski

Is this a start method issue (i.e. "spawn" vs "fork")?

On Tue, Oct 28, 2025 at 8:22 PM Jesse Grabowski @.***> wrote:

jessegrabowski left a comment (pymc-devs/pymc-extras#603) https://github.com/pymc-devs/pymc-extras/issues/603#issuecomment-3459262544

cc: @aphc14 https://github.com/aphc14 @fonnesbeck https://github.com/fonnesbeck

— Reply to this email directly, view it on GitHub https://github.com/pymc-devs/pymc-extras/issues/603#issuecomment-3459262544, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAT4RBCUPH6LMKZUJYYI4L32AJEDAVCNFSM6AAAAACKP6O3Q2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTINJZGI3DENJUGQ . You are receiving this because you were mentioned.Message ID: @.***>

fonnesbeck avatar Oct 29 '25 02:10 fonnesbeck