Skip to content
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

Feature request: option for more frequent/regular checkpoints #50

Open
ajdittmann opened this issue Jul 16, 2024 · 2 comments
Open

Feature request: option for more frequent/regular checkpoints #50

ajdittmann opened this issue Jul 16, 2024 · 2 comments

Comments

@ajdittmann
Copy link

For context, one of the main clusters I have access to places an unfortunate limit of 12 hours on each job submission, and another has a 16-hour limit. Because my log likelihood (already written in C) evaluations take a few seconds, as I have increased N_active and N_effective into the 10,000s in search of converged results (even in this limit, pocomc seems quite a bit more efficient than many other samplers), things have gotten to the point where the jobs can time out before making it to the next iteration and dumping a pickled output file (using save_every = 1).

Would it be possible to add an option along the lines of saving the sampler state after N likelihood evaluations, or some other more predictable metric?

@minaskar
Copy link
Owner

Unfortunately, this would require major changes in the code.

Could you perhaps decrease n_active, while keeping n_effective as high as your problem requires?

@ajdittmann
Copy link
Author

Sorry to hear that, although it is understandable. Thank you for the suggestion, I will give it a shot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants