Skip to content
This repository has been archived by the owner on Sep 11, 2023. It is now read-only.

Implied timescales calculation hangs with multiprocessing #1590

Open
yuxuanzhuang opened this issue Mar 21, 2023 · 0 comments
Open

Implied timescales calculation hangs with multiprocessing #1590

yuxuanzhuang opened this issue Mar 21, 2023 · 0 comments

Comments

@yuxuanzhuang
Copy link

It seems to be a recurring question (related #1576 #1553 #1582 and maybe more). And I know you guys will replace the implementation of it in a future version of pyemma, but I just want to point out that the issue seems to be related to the combination of threadpool_limits and get_context("spawn").Pool---for some weird reason, they don't play nice with the serialization of MaximumLikelihoodMSM.

Either removing threadpool_limits or using get_context().Pool can resolve the hanging.

ubuntu 20.04
python: 3.10
pyemma: 2.5.12
threadpoolctl: 3.1.0

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant