-
Notifications
You must be signed in to change notification settings - Fork 16
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
Mixed-mode sparse Jacobians #554
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #554 +/- ##
==========================================
- Coverage 98.39% 98.29% -0.11%
==========================================
Files 107 109 +2
Lines 4739 4813 +74
==========================================
+ Hits 4663 4731 +68
- Misses 76 82 +6
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #554 +/- ##
==========================================
- Coverage 97.77% 97.71% -0.06%
==========================================
Files 110 112 +2
Lines 5439 5522 +83
==========================================
+ Hits 5318 5396 +78
- Misses 121 126 +5
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Implement a new
MixedMode
backend which allows computing sparse Jacobians with a combination of forward and reverse modes.DI source
MixedMode(forward, reverse)
to store a combination of forward mode and reverse mode backends.DI extensions
MixedMode
backends by computing two compressed matricesBr
andBc
from a bidirectional coloring. Each sub-backend (forward and reverse) has its own separate process, the only common part is the joint decompression from SMC.DI tests
MixedMode
on sparse Jacobian scenarios.DIT source
Chores