Skip to content

Commit 70435f8

Browse files
committed
fix bug
1 parent 88b1b24 commit 70435f8

File tree

180 files changed

+6948886
-17
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

180 files changed

+6948886
-17
lines changed

benchmarks/run.py

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -326,23 +326,6 @@ def run_kernel_variants(
326326
) -> None:
327327
"""Run kernel variants in the same benchmark run."""
328328

329-
# Configure Helion to use fewer generations for faster autotuning during benchmarks
330-
import helion
331-
from helion.autotuner import DifferentialEvolutionSearch, LocalAutotuneCache
332-
from helion.runtime.kernel import BoundKernel
333-
from typing import Sequence
334-
335-
def fast_autotuner_fn(
336-
bound_kernel: BoundKernel, args: Sequence[object], **kwargs: object
337-
) -> LocalAutotuneCache:
338-
# Use only 1 generation instead of default 20 for faster benchmarking
339-
return LocalAutotuneCache(
340-
DifferentialEvolutionSearch(bound_kernel, args, num_generations=1, **kwargs)
341-
)
342-
343-
# Set the custom autotuner function
344-
helion.set_default_settings(helion.Settings(autotuner_fn=fast_autotuner_fn))
345-
346329
# Import tritonbench components
347330
try:
348331
from tritonbench.utils.parser import ( # pyright: ignore[reportMissingImports]

benchmarks_autotune.txt

Lines changed: 378 additions & 0 deletions
Large diffs are not rendered by default.

benchmarks_autotune2.txt

Lines changed: 2441 additions & 0 deletions
Large diffs are not rendered by default.

benchmarks_autotune3_0.txt

Lines changed: 317 additions & 0 deletions
Large diffs are not rendered by default.

benchmarks_autotune3_1.txt

Lines changed: 254 additions & 0 deletions
Large diffs are not rendered by default.

benchmarks_autotune3_2.txt

Lines changed: 75527 additions & 0 deletions
Large diffs are not rendered by default.

benchmarks_autotune3_3.txt

Lines changed: 14465 additions & 0 deletions
Large diffs are not rendered by default.

benchmarks_autotune_10.txt

Lines changed: 1613 additions & 0 deletions
Large diffs are not rendered by default.

benchmarks_autotune_11.txt

Lines changed: 908896 additions & 0 deletions
Large diffs are not rendered by default.

benchmarks_autotune_12_notune.txt

Lines changed: 2674 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)