Skip to content

Commit

Permalink
Remove unused variable in choose_generation_strategy
Browse files Browse the repository at this point in the history
Summary:
As reported by an issue in github (facebook#341)
This variable `no_max_parallelism` is not used by `choose_generation_strategy` but is still one of the functions input arguments.
Cleaning it up in this diff

Reviewed By: lena-kashtelyan

Differential Revision: D22576370

fbshipit-source-id: 13c3d41b2c66151508a8d5e1290ff73b0601010f
  • Loading branch information
glennq authored and facebook-github-bot committed Jul 16, 2020
1 parent 6960b49 commit 2d478fa
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion ax/modelbridge/dispatch_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,6 @@ def choose_generation_strategy(
no_bayesian_optimization: bool = False,
num_trials: Optional[int] = None,
num_initialization_trials: Optional[int] = None,
no_max_parallelism: bool = False,
max_parallelism_cap: Optional[int] = None,
max_parallelism_override: Optional[int] = None,
) -> GenerationStrategy:
Expand Down

0 comments on commit 2d478fa

Please sign in to comment.