You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: kernel_tuner/interface.py
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -474,7 +474,7 @@ def __deepcopy__(self, _):
474
474
),
475
475
("metrics", ("specifies user-defined metrics, please see :ref:`metrics`.", "dict")),
476
476
("simulation_mode", ("Simulate an auto-tuning search from an existing cachefile", "bool")),
477
-
("parallel_workers", ("Set to `True` or an integer to enable parallel tuning. If set to an integer, this will be the number of parallel workers.", "int|bool")),
477
+
("parallel", ("Set to `True` or an integer to enable parallel tuning. If set to an integer, this will be the number of parallel workers.", "int|bool")),
478
478
("observers", ("""A list of Observers to use during tuning, please see :ref:`observers`.""", "list")),
479
479
]
480
480
)
@@ -586,7 +586,7 @@ def tune_kernel(
586
586
cache=None,
587
587
metrics=None,
588
588
simulation_mode=False,
589
-
parallel_workers=None,
589
+
parallel=None,
590
590
observers=None,
591
591
objective=None,
592
592
objective_higher_is_better=None,
@@ -662,14 +662,14 @@ def tune_kernel(
662
662
# TODO: we could use the "match case" syntax when removing support for 3.9
663
663
tuning_options.simulated_time=0
664
664
665
-
ifparallel_workersandsimulation_mode:
666
-
raiseValueError("Enabling `parallel_workers` and `simulation_mode` together is not supported")
665
+
ifparallelandsimulation_mode:
666
+
raiseValueError("Enabling `parallel` and `simulation_mode` together is not supported")
0 commit comments