Skip to content

Commit 5eaa289

Browse files
committed
[Benchmark] Add fp8_attention to tritonbench integration
stack-info: PR: #319, branch: yf225/stack/27
1 parent b766afe commit 5eaa289

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

benchmarks/run.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@
2525
from typing import Any
2626
from typing import Callable
2727

28+
# Import tritonbench's run module which applies the async_task patch
29+
import tritonbench.run # noqa: F401
30+
2831
# Maps tritonbench op names to Helion kernel examples
2932
KERNEL_MAPPINGS: dict[str, tuple[str, str, str]] = {
3033
# <tritonbench_op_name>: (<tritonbench_module_path>, <helion_kernel_module_path>, <helion_kernel_function_name>)
@@ -65,6 +68,11 @@
6568
"examples.attention",
6669
"attention",
6770
),
71+
"fp8_attention": (
72+
"tritonbench.operators.fp8_attention.operator",
73+
"examples.fp8_attention",
74+
"fp8_attention_tritonbench",
75+
),
6876
}
6977

7078

0 commit comments

Comments
 (0)