Skip to content

Commit 004b47c

Browse files
committed
[Benchmark] template attention kernel and test
1 parent ebb9f34 commit 004b47c

File tree

4 files changed

+551
-0
lines changed

4 files changed

+551
-0
lines changed

benchmarks/run.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,11 @@ class RunResult:
280280
"examples.jagged_sum",
281281
"jagged_sum_tritonbench",
282282
),
283+
"template_attention": (
284+
"tritonbench.operators.template_attention.operator",
285+
"examples.template_attention",
286+
"template_attention_tritonbench",
287+
),
283288
}
284289

285290

@@ -538,6 +543,12 @@ class RunResult:
538543
"helion_fp8_gemm_tritonbench-speedup": "helion_speedup",
539544
"helion_fp8_gemm_tritonbench-accuracy": "helion_accuracy",
540545
},
546+
"template_attention": {
547+
"test_with_exp2-speedup": "triton_speedup",
548+
"test_with_exp2-accuracy": "triton_accuracy",
549+
"helion_template_attention_tritonbench-speedup": "helion_speedup",
550+
"helion_template_attention_tritonbench-accuracy": "helion_accuracy",
551+
},
541552
}
542553

543554

0 commit comments

Comments
 (0)