-
Notifications
You must be signed in to change notification settings - Fork 5
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: Define breaks for stopping #4
Comments
hey ! I think that should be possible, but will have to think a bit about how to implement. In R Studio, there is a way to schedule running a .R file. So here if you have Let me think about this a bit more !! |
I don't see any issue using My hope is that if I have the break built in, once Although it's possible to pick up where the job left off by submitting another job, I would like to automate queuing up the next job. If the script terminates due to reaching the max walltime, it wouldn't continue processing the code to pass the baton. Thanks, Donald! |
I see ! let met think about how best to implement this, and will update here with some ideas. Of course, open to ideas you have about how to implement that in the package.. |
I implemented this in an open pull request and then saw there was already this request for it |
I've been playing around with the package a bit. It's really cool!
I read the documentation for chkpt_brms, and I was wondering whether it would be possible in a future release to define actual breaks programmatically (so a user doesn't have to rely on the 'stop' button). I'm hoping for a way to circumvent the need for a user to interact with the fitting.
E.g., if
iter_warmup = 5000, iter_sampling = 15000, iter_perchkpt = 1000
, a separate input could force the fitting to stop every 5,000 iterations that could be picked up again by a later call from chkpt_brms.The application I am thinking about is running models on a computer cluster, rather than a desktop. My hope is to force breaks to split up long jobs so they can be run on nodes with shorter wall times.
Thanks,
Peter
The text was updated successfully, but these errors were encountered: