mirror of
https://github.com/wassname/ray.git
synced 2026-07-28 11:25:04 +08:00
[tune] All examples to use ConcurrencyLimiter (#10662)
Co-authored-by: Kai Fricke <kai@anyscale.com>
This commit is contained in:
co-authored by
Kai Fricke
parent
cd5b99e5e0
commit
3501ea396c
@@ -167,3 +167,6 @@ class Repeater(Searcher):
|
||||
|
||||
def set_state(self, state):
|
||||
self.__dict__.update(state)
|
||||
|
||||
def set_search_properties(self, metric, mode, config):
|
||||
return self.searcher.set_search_properties(metric, mode, config)
|
||||
|
||||
@@ -366,3 +366,6 @@ class ConcurrencyLimiter(Searcher):
|
||||
|
||||
def on_unpause(self, trial_id):
|
||||
self.searcher.on_unpause(trial_id)
|
||||
|
||||
def set_search_properties(self, metric, mode, config):
|
||||
return self.searcher.set_search_properties(metric, mode, config)
|
||||
|
||||
Reference in New Issue
Block a user