Skip to content

Commit 1f2593c

Browse files
authored
Print repro code on autotune success (#1203)
1 parent 4dc7a7f commit 1f2593c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

helion/autotuner/base_search.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -669,6 +669,7 @@ def autotune(self, *, skip_cache: bool = False) -> Config:
669669
f" {kernel_decorator}\n",
670670
level=logging.INFO + 5,
671671
)
672+
self.kernel.maybe_log_repro(self.log.warning, self.args, best)
672673
if self.settings.print_output_code:
673674
triton_code = self.kernel.to_triton_code(best)
674675
print(triton_code, file=sys.stderr)

0 commit comments

Comments
 (0)