-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Add pickle test and revert theano var names (hopefully temporarily) #4117
Conversation
Signed-off-by: Ravin Kumar <ravinsdrive@gmail.com>
Codecov Report
@@ Coverage Diff @@
## master #4117 +/- ##
==========================================
- Coverage 88.75% 88.46% -0.29%
==========================================
Files 89 89
Lines 14040 14028 -12
==========================================
- Hits 12461 12410 -51
- Misses 1579 1618 +39
|
This is ready for review, I guess our code coverage tolerance is set pretty high hence the CI failure |
Pinging @Spaak, as I did in the associated issue |
Sounds good, going to ask if we can merge in 24 hours if no strong objection is raised, as this right now put ArviZ at risk |
Thanks for the ping also here, and for the tests. The issue appears to be with the "type hacking" I added to Deterministic in order to force |
@Spaak do you have a test which fails if you just do var.__str__ = functools.partial(_repr_deterministic_rv, var, formatting='plain') ? For me,
|
@MarcoGorelli Yes, I do now, see #4120 . Patching |
Thanks @Spaak!! |
This commit does a couple of things per comments in #4112
Proposed steps, pending successful CI, is that we merge this to fix broken SMC parallel capability and ArviZ pipelines, and then try reimplementing this feature in a way that doesn't break pickling of
pm.Deterministic