-
Notifications
You must be signed in to change notification settings - Fork 21
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
why no pickle? #360
Comments
I agree that pickle would be more efficient and should move towards that for version 3. |
@smattis do you think you could handle the move to pickle or should I attempt it? |
I probably have more time to commit to it. |
I might have just done this as part of addressing SciPy upgrades and handling adaptive sampling... stay tuned. |
Yes. I think I figured it out. meaning, I'll put in thirty minutes trying to resolve it, but if I can't, I'm going to throw a "skip test in parallel" bandaid for the time being so I can unblock myself from testing SciPy upgrades with the new sampling approach. |
confirmed: everything in the library works except for adaptive sampling when I upgrade |
well, I got it to work without skipping. I don't have confidence in the hot start from partial run, the tests kind of looks incomplete for it, but ... whatever. better than skipping it altogether. |
update: I am now successfully running code from 2016-2017 using the new BET (with pickling).
So, that's great! My scripts create a bunch of directories (in each of these are the individual savefiles for each trial.
This allows for swapping out metrics and choices of observed distribution to create convergence plots really quickly. I'll close out this issue once I get the I'll create a separate repo to house the example above. |
(PS that example takes up 1/3 GB). |
pickle default in v3 |
Minimal working example:
Is there any problem with saving/loading like this?
The text was updated successfully, but these errors were encountered: