You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm calling Stan in a loop and getting this warning every iteration:
/usr/local/lib/python3.9/site-packages/bridgestan/model.py:137: UserWarning: Loading a shared object /Users/bcarpenter/github/bob-carpenter/adaptive-hmc/stan/normal_model.so that has already been loaded.
If the file has changed since the last time it was loaded, this load may not update the library!
This arises from calling this repeatedly in a loop with the same model_path:
In this instance (and many others), I could pull the model creation out of the loop and pass it into the loop as an argument. I'd rather not have to do that here as it's more natural to have the caller not know anything about these low-level model-creation details.
The text was updated successfully, but these errors were encountered:
Yep, Aki, just requested the same #217. Brian fixed it #218. Should be in the next release. Or you can pull the latest from GitHub and point your code to the local copy on your machine.
I don't like releasing on Fridays, otherwise I would get it out there for you now (it would be a small release, really just #218, #197, and #213 which would be user-facing)
I'm calling Stan in a loop and getting this warning every iteration:
This arises from calling this repeatedly in a loop with the same
model_path
:In this instance (and many others), I could pull the model creation out of the loop and pass it into the loop as an argument. I'd rather not have to do that here as it's more natural to have the caller not know anything about these low-level model-creation details.
The text was updated successfully, but these errors were encountered: