-
-
Notifications
You must be signed in to change notification settings - Fork 422
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
Montecarlo configuration refactor, Numba developer proposed version #2568
Montecarlo configuration refactor, Numba developer proposed version #2568
Conversation
- Converted MC configuration to a jitclass
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #2568 +/- ##
==========================================
+ Coverage 67.18% 67.99% +0.80%
==========================================
Files 173 171 -2
Lines 14570 14259 -311
==========================================
- Hits 9789 9695 -94
+ Misses 4781 4564 -217 ☔ View full report in Codecov by Sentry. |
Total test duration (Moria): 683s These times are quite reliable and reproducible. This is likely because the obj2strdict is being called in the single packet loop. I believe to get the best benefit of this method would require splitting our physics functions up wherever they have if-statements based on the configuration. |
need to rebase |
Not relevant any more |
📝 Description
Type: 🪲
bugfix
This is the version of the refactor that uses the methods proposed here: https://hackmd.io/Wmy-e2RsQCSqjJsP0VAmbg?both which allow us to send config objects to different functions with smart compilation that accounts for changes in the config while retaining the performance benefits of skipping paths (this effectively compiles JIT functions to each config).
🚦 Testing
How did you test these changes?