diff --git a/python/ray/tune/experimental/output.py b/python/ray/tune/experimental/output.py index 9160b290662d..966cca1105f6 100644 --- a/python/ray/tune/experimental/output.py +++ b/python/ray/tune/experimental/output.py @@ -1016,6 +1016,7 @@ def on_trial_result( f"at {curr_time_str}. Total running time: " + running_time_str ) self._print_result(trial, result) + print("") def on_trial_complete( self, iteration: int, trials: List[Trial], trial: Trial, **info @@ -1028,10 +1029,11 @@ def on_trial_complete( finished_iter = trial.last_result[TRAINING_ITERATION] print( f"{self._addressing_tmpl.format(trial)} " - f"completed training after {finished_iter} iterations " + f"completed after {finished_iter} iterations " f"at {curr_time_str}. Total running time: " + running_time_str ) self._print_result(trial) + print("") def on_checkpoint( self, @@ -1052,6 +1054,7 @@ def on_checkpoint( f"saved a checkpoint for iteration {saved_iter} " f"at: {checkpoint.dir_or_data}" ) + print("") def on_trial_start(self, iteration: int, trials: List[Trial], trial: Trial, **info): if self._verbosity < self._start_end_verbosity: @@ -1068,6 +1071,7 @@ def on_trial_start(self, iteration: int, trials: List[Trial], trial: Trial, **in f"{self._addressing_tmpl.format(trial)} " f"started without custom configuration." ) + print("") class TuneResultProgressCallback(AirResultProgressCallback):