Skip to content

Commit d9b521d

Browse files
committed
Let user know which autotune_effort is being used.
1 parent 4eef7a9 commit d9b521d

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

helion/autotuner/base_cache.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,10 @@ def autotune(self) -> Config:
173173
counters["autotune"]["cache_miss"] += 1
174174
log.debug("cache miss")
175175

176-
self.autotuner.log("Starting autotuning process, this may take a while...")
176+
effort = self.kernel.settings.autotune_effort
177+
self.autotuner.log(
178+
f"Starting autotuning process with effort={effort}, this may take a while..."
179+
)
177180

178181
config = self.autotuner.autotune()
179182

helion/runtime/kernel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,7 @@ def _implicit_config(self) -> Config | None:
576576
if not is_ref_mode_enabled(self.kernel.settings):
577577
kernel_decorator = self.format_kernel_decorator(config, self.settings)
578578
print(
579-
f"Using default config: {kernel_decorator}",
579+
f"Using default config (autotune_effort=none): {kernel_decorator}",
580580
file=sys.stderr,
581581
)
582582
return config

0 commit comments

Comments
 (0)