-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable parallelization #38
Conversation
Codecov Report
@@ Coverage Diff @@
## main #38 +/- ##
==========================================
+ Coverage 99.10% 99.15% +0.05%
==========================================
Files 11 12 +1
Lines 335 357 +22
==========================================
+ Hits 332 354 +22
Misses 3 3
Continue to review full report at Codecov.
|
By introducing a mutating pattern in a few key places, type-stability is rescued. |
This PR sets up internal usage of Transducers. The main benefits of this are to allow fine-grained control of parallel execution. With this PR both ELBO computation and multi-path Pathfinder are run with multithreading by default (when compatible with the user-provided RNG), but this can be customized by the user to be distributed, sequential, etc.\
This PR supersedes #11.