-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Fix memory leak in logp of transformed variables #6991
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
Fix memory leak in logp of transformed variables #6991
Conversation
ef5cf40
to
431dedb
Compare
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #6991 +/- ##
==========================================
+ Coverage 87.78% 92.18% +4.39%
==========================================
Files 100 101 +1
Lines 16896 16907 +11
==========================================
+ Hits 14832 15585 +753
+ Misses 2064 1322 -742
|
431dedb
to
519009b
Compare
519009b
to
48867de
Compare
Weird failure on Windows, seems related to the progress_bar. Something akin to: AnswerDotAI/fastprogress#37 https://github.com/pymc-devs/pymc/actions/runs/6772363062/job/18404776473?pr=6991#step:7:197 |
@@ -28,6 +29,8 @@ | |||
from pymc.smc.kernels import IMH, systematic_resampling | |||
from tests.helpers import assert_random_state_equal | |||
|
|||
_IS_WINDOWS = platform.system() == "Windows" |
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.
@aloctavodia I had to disable the progressbar on windows. Tests were failing with a cryptic error that I feel is unrelated?
I couldn't get on a Windows machine to reproduce.
9a1c936
to
b487baa
Compare
Closes #6990
First commit is just refactoring, second commit fixes the linked issue
📚 Documentation preview 📚: https://pymc--6991.org.readthedocs.build/en/6991/