-
Notifications
You must be signed in to change notification settings - Fork 31
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
Parallelize matrix simplification #1778
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #1778 +/- ##
============================================
- Coverage 76.33% 66.17% -10.16%
============================================
Files 74 30 -44
Lines 12836 4722 -8114
============================================
- Hits 9798 3125 -6673
+ Misses 3038 1597 -1441
Flags with carried forward coverage won't be shown. Click here to find out more.
|
8e51804
to
b80d997
Compare
SonarCloud Quality Gate failed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! Would be nice to add some documentation on the respective environment variable.
SonarCloud Quality Gate failed. |
Allow for optional parallelization of sympy matrix simplification using
multiprocessing
. Number of processes is controlled via environment variableAMICI_IMPORT_NPROCS
.This only helps for larger models and may slow down import of smaller models slightly.
Benchmarking (only code generation; derivatives computed sequentially in both cases):