Skip to content

Commit

Permalink
[tune] Add on_trial_result to ConcurrencyLimiter (#18766)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yard1 authored Sep 21, 2021
1 parent ca3fabc commit f4666f3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions python/ray/tune/suggest/suggestion.py
Original file line number Diff line number Diff line change
Expand Up @@ -424,6 +424,9 @@ def on_trial_complete(self,
self.live_trials.remove(trial_id)
self.num_unfinished_live_trials -= 1

def on_trial_result(self, trial_id: str, result: Dict) -> None:
self.searcher.on_trial_result(trial_id, result)

def add_evaluated_point(self,
parameters: Dict,
value: float,
Expand Down

0 comments on commit f4666f3

Please sign in to comment.