Skip to content

fix: Remove stdlib multiprocessing with pathos#47

Open
nkemnitz wants to merge 2 commits intoseung-lab:masterfrom
ZettaAI:nkem/mp-fix
Open

fix: Remove stdlib multiprocessing with pathos#47
nkemnitz wants to merge 2 commits intoseung-lab:masterfrom
ZettaAI:nkem/mp-fix

Conversation

@nkemnitz
Copy link
Copy Markdown
Contributor

Fixes #46

@william-silversmith
Copy link
Copy Markdown
Contributor

Thanks for the fix Nico! I tried testing this both on GHA and locally and it seems to stall at the parallel test (test/test_taskqueue.py::test_parallel_insert_all[fq]).

@nkemnitz nkemnitz force-pushed the nkem/mp-fix branch 2 times, most recently from a73c932 to 70d3773 Compare March 27, 2026 09:46
@nkemnitz
Copy link
Copy Markdown
Contributor Author

nkemnitz commented Mar 27, 2026

Right, the spawned child processes tried to create their own mp.Manager.Queue. Also test needs adjustment to that the child processes actually can communicate with the main process mock queue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

mp.set_start_method("spawn") targets wrong module

2 participants