Skip to content

high RAM usage #265

Answered by digicosmos86
eort asked this question in Q&A
Aug 15, 2023 · 5 comments · 6 replies
Discussion options

You must be logged in to vote

From the error message, since the error happens after sampling, it's very likely that the error is due to how PyMC handles the post-sampling calculation of likelihoods. It seems that they have recently changed this process to improve the stability of this calculation (they removed the use of chunks, for example, and added a "scan" vectorization here) which might help with memory usage.

Would you mind trying the latest version of hssm, which has the latest PyMC (5.9.0) as a dependency? You can install it in the same environment with pip install git+https://github.com/lnccbrown/HSSM.git@280-pin-numpy-version

Replies: 5 comments 6 replies

Comment options

You must be logged in to vote
1 reply
@eort
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@eort
Comment options

@AlexanderFengler
Comment options

Comment options

You must be logged in to vote
3 replies
@digicosmos86
Comment options

Answer selected by eort
@eort
Comment options

@digicosmos86
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants