Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions helion/autotuner/base_search.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,8 @@ def _compute_baseline(self) -> tuple[object, bool, Sequence[object] | None]:
"Default config failed while computing baseline.\n"
f"Default config: {decorator}\n"
f"{SUPPRESSED_TRITON_CODE_MSG}\n"
"To work around this error, you could set `@helion.kernel(autotune_baseline_fn=...)` "
"to provide a custom baseline function (e.g. PyTorch eager implementation of your kernel)."
) from e

original_args_flat, _ = tree_flatten(self._original_args)
Expand Down
Loading