Skip to content

Commit 4153fc2

Browse files
fix code printing tuning results
1 parent e86be4a commit 4153fc2

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

kernel_tuner/interface.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -808,7 +808,7 @@ def preprocess_cache(filepath):
808808
keys += list(metrics.keys())
809809
if not quiet:
810810
print(f"\nBEST PERFORMING CONFIGURATION FOR OBJECTIVE {objective}:")
811-
print(util.get_config_string(best_config, keys, units))
811+
print(util.get_config_string(best_config, keys, units))
812812
else:
813813
pareto_front = util.get_pareto_results(results, objective, objective_higher_is_better)
814814
# add the best configuration to env
@@ -818,11 +818,11 @@ def preprocess_cache(filepath):
818818
keys = list(tune_params.keys())
819819
keys += list(objective)
820820
if metrics:
821-
keys += list(metrics.keys)
821+
keys += list(metrics.keys())
822822
if not quiet:
823823
print(f"\nBEST PERFORMING CONFIGURATIONS FOR OBJECTIVES: {objective}:")
824-
for best_config in pareto_front:
825-
print(util.get_config_string(best_config, keys, units))
824+
for best_config in pareto_front:
825+
print(util.get_config_string(best_config, keys, units))
826826
elif not device_options.quiet:
827827
print("no results to report")
828828

0 commit comments

Comments
 (0)