Implemented early stopping by specified score and threshold#32
Merged
Conversation
Contributor
|
@gezmi thanks for the PR! Looks like the CI tests are good, I just want to understand what this PR is doing before merge. When running with multiple seeds, this stops after any seed that hits a certain score threshold? So then it won't run any further seeds for that sequence? I am curious the reasoning for doing this, rather than doing the early stopping after a certain number of recycles. |
Contributor
Author
|
Hi,
Thanks for reviewing :) Yes, exactly, it breaks the for loop that goes over
the seeds.
As far as I understood, if I stop the recycling, the next seed would still
be run. I am now running complexes sometimes up to 20 or even 100 seeds,
but they can result in a "good enough" structure even with 1 seed. In these
cases, I don't want to spend more resources on the run.
…On Wed, 4 Feb 2026 at 00:29, Henry Dieckhaus ***@***.***> wrote:
*hdieckhaus* left a comment (Kuhlman-Lab/alphafold3#32)
<#32 (comment)>
@gezmi <https://github.com/gezmi> thanks for the PR! Looks like the CI
tests are good, I just want to understand what this PR is doing before
merge.
When running with multiple seeds, this stops after any seed that hits a
certain score threshold? So then it won't run any further seeds for that
sequence? I am curious the reasoning for doing this, rather than doing the
early stopping after a certain number of recycles.
—
Reply to this email directly, view it on GitHub
<#32 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADHCIIYYZD7DIBSPD5AZOID4KEOKXAVCNFSM6AAAAACS6TJNLCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTQNBUGA2TQOJSGU>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
hdieckhaus
approved these changes
Mar 26, 2026
Contributor
hdieckhaus
left a comment
There was a problem hiding this comment.
Sorry for the delay on this, merging now.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
added flags to implement early stopping, as an example:
--early_stop_metric iptm --early_stop_threshold 0.85
Setting the metric will also change this metric to be the one used for ranking_score
In case someone wants to change the ranking score, without early stopping, one can use for example:
--early_stop_metric ptm --early_stop_threshold 1.0 => this will result in ptm being used for ranking amongst the models