You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MEEP is currently built with threads disabled by default for the SWIG python bindings. This means all calls swigged C++ code hold the GIL by default. This has the unfortunate side-effect of long running MEEP calls holding up the python interpreter and not being able to do anything else in parallel even if it is safe to do so.
We have a few options
Do nothing
Release the GIL on selected calls that we know to be long-running
Enable 'threads' (optionally) for ALL of SWIG python bindings
The text was updated successfully, but these errors were encountered:
Did you by chance run any experiments to see if this works well (e.g. running on 1 proc with multiple threads and comparing speedup to before)? I see it's been added to CI
MEEP is currently built with threads disabled by default for the SWIG python bindings. This means all calls swigged C++ code hold the GIL by default. This has the unfortunate side-effect of long running MEEP calls holding up the python interpreter and not being able to do anything else in parallel even if it is safe to do so.
We have a few options
The text was updated successfully, but these errors were encountered: