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

Early stopping features for calibrate and optimize? #579

Open
djinnome opened this issue May 31, 2024 · 2 comments
Open

Early stopping features for calibrate and optimize? #579

djinnome opened this issue May 31, 2024 · 2 comments

Comments

@djinnome
Copy link
Contributor

For calibrate, a nice intermediate result is the current loss.

For optimize, would a duality gap or optimal value be a useful intermediate value? @anirban-chaudhuri what would make sense as input to the progress hook like what we do for calibrate.

Right now, Terarium kills the process if we want to stop early, but if there is a more hygenic way to do this?

@SamWitty
Copy link
Contributor

SamWitty commented Jun 5, 2024

@djinnome , could you please break this out into smaller atomic issues for each feature request. This could be decomposed into intermediate results for calibrate, intermediate results for optimize, early stopping features for calibrate, and early stopping features for optimize.

Also, could you clarify how this request differs from #477 and #362 .

@djinnome djinnome changed the title intermediate results and early stopping features for calibrate and optimize? Early stopping features for calibrate and optimize? Jun 5, 2024
@djinnome
Copy link
Contributor Author

djinnome commented Jun 5, 2024

Hi @SamWitty

It sounds like progress hooks for calibrate and optimize are already handled by #362 and #477, respectively, so this post can reduce to answering the question about whether we want to control early stopping ourselves, or let Terarium handle it for us.

@anirban-chaudhuri anirban-chaudhuri removed their assignment Jul 23, 2024
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

3 participants