We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09aa2e1 commit 76efa8aCopy full SHA for 76efa8a
src/sagemaker/tuner.py
@@ -741,7 +741,7 @@ def __init__(
741
# For all other strategies for the backward compatibility we keep
742
# the default value as 1 (previous default value).
743
self.max_jobs = max_jobs
744
- if max_jobs is None and strategy is not GRID_SEARCH:
+ if max_jobs is None and strategy != GRID_SEARCH:
745
self.max_jobs = 1
746
self.max_parallel_jobs = max_parallel_jobs
747
self.max_runtime_in_seconds = max_runtime_in_seconds
0 commit comments