diff --git a/ax/service/scheduler.py b/ax/service/scheduler.py index 39a0768b168..4b104baa415 100644 --- a/ax/service/scheduler.py +++ b/ax/service/scheduler.py @@ -514,6 +514,10 @@ def generate_candidates( stale_candidate_trials = self.experiment.trials_by_status[ TrialStatus.CANDIDATE ] + self.logger.info( + "Marking the following trials as failed because they are stale: " + f"{[t.index for t in stale_candidate_trials]}" + ) for trial in stale_candidate_trials: trial.mark_failed(reason="Newer candidates generated.", unsafe=True) else: