diff --git a/helion/autotuner/base_cache.py b/helion/autotuner/base_cache.py index 62216c611..415927dc8 100644 --- a/helion/autotuner/base_cache.py +++ b/helion/autotuner/base_cache.py @@ -183,6 +183,10 @@ def autotune(self, *, skip_cache: bool = False) -> Config: if (config := self.get()) is not None: counters["autotune"]["cache_hit"] += 1 log.debug("cache hit: %s", str(config)) + kernel_decorator = self.kernel.format_kernel_decorator( + config, self.autotuner.settings + ) + print(f"Using cached config:\n\t{kernel_decorator}", file=sys.stderr) cache_info = self._get_cache_info_message() self.autotuner.log( f"Found cached config for {self.kernel.kernel.name}, skipping autotuning.\n{cache_info}"