From 60a4be4a59396f2895157f43e7ff123d1be5ed8e Mon Sep 17 00:00:00 2001 From: Sumanth Ratna Date: Thu, 15 Oct 2020 00:44:36 -0400 Subject: [PATCH] [tune] Remove metric and mode kwargs from create_searcher (#11335) --- python/ray/tune/suggest/__init__.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/python/ray/tune/suggest/__init__.py b/python/ray/tune/suggest/__init__.py index 437ca0653..97a54a449 100644 --- a/python/ray/tune/suggest/__init__.py +++ b/python/ray/tune/suggest/__init__.py @@ -8,8 +8,6 @@ from ray.tune.suggest.repeater import Repeater def create_searcher( search_alg, - metric=None, - mode=None, **kwargs, ): """Instantiate a search algorithm based on the given string. @@ -95,7 +93,7 @@ def create_searcher( f"Got: {search_alg}") SearcherClass = SEARCH_ALG_IMPORT[search_alg]() - return SearcherClass(metric=metric, mode=mode, **kwargs) + return SearcherClass(**kwargs) __all__ = [