|
28 | 28 | # Maps tritonbench op names to Helion kernel examples
|
29 | 29 | KERNEL_MAPPINGS: dict[str, tuple[str, str, str]] = {
|
30 | 30 | # <tritonbench_op_name>: (<tritonbench_module_path>, <helion_kernel_module_path>, <helion_kernel_function_name>)
|
31 |
| - "vector_add": ("tritonbench.operators.vector_add.operator", "examples.add", "add"), |
32 |
| - "embedding": ( |
33 |
| - "tritonbench.operators.embedding.operator", |
34 |
| - "examples.embedding", |
35 |
| - "embedding_tritonbench", |
36 |
| - ), |
37 |
| - "vector_exp": ( |
38 |
| - "tritonbench.operators.vector_exp.operator", |
39 |
| - "examples.exp", |
40 |
| - "exp_tritonbench", |
41 |
| - ), |
42 |
| - "rms_norm": ( |
43 |
| - "tritonbench.operators.rms_norm.operator", |
44 |
| - "examples.rms_norm", |
45 |
| - "rms_norm_tritonbench", |
46 |
| - ), |
47 |
| - "sum": ("tritonbench.operators.sum.operator", "examples.sum", "sum_tritonbench"), |
48 |
| - "softmax": ( |
49 |
| - "tritonbench.operators.softmax.operator", |
50 |
| - "examples.softmax", |
51 |
| - "softmax", |
52 |
| - ), |
53 |
| - "jagged_mean": ( |
54 |
| - "tritonbench.operators.jagged_mean.operator", |
55 |
| - "examples.jagged_mean", |
56 |
| - "jagged_mean_tritonbench", |
57 |
| - ), |
58 |
| - "fp8_gemm": ( |
59 |
| - "tritonbench.operators.fp8_gemm.fp8_gemm", |
60 |
| - "examples.fp8_gemm", |
61 |
| - "fp8_gemm_tritonbench", |
62 |
| - ), |
| 31 | + # "vector_add": ("tritonbench.operators.vector_add.operator", "examples.add", "add"), |
| 32 | + # "embedding": ( |
| 33 | + # "tritonbench.operators.embedding.operator", |
| 34 | + # "examples.embedding", |
| 35 | + # "embedding_tritonbench", |
| 36 | + # ), |
| 37 | + # "vector_exp": ( |
| 38 | + # "tritonbench.operators.vector_exp.operator", |
| 39 | + # "examples.exp", |
| 40 | + # "exp_tritonbench", |
| 41 | + # ), |
| 42 | + # "rms_norm": ( |
| 43 | + # "tritonbench.operators.rms_norm.operator", |
| 44 | + # "examples.rms_norm", |
| 45 | + # "rms_norm_tritonbench", |
| 46 | + # ), |
| 47 | + # "sum": ("tritonbench.operators.sum.operator", "examples.sum", "sum_tritonbench"), |
| 48 | + # "softmax": ( |
| 49 | + # "tritonbench.operators.softmax.operator", |
| 50 | + # "examples.softmax", |
| 51 | + # "softmax", |
| 52 | + # ), |
| 53 | + # "cross_entropy": ( |
| 54 | + # "tritonbench.operators.cross_entropy.operator", |
| 55 | + # "examples.cross_entropy", |
| 56 | + # "cross_entropy", |
| 57 | + # ), |
| 58 | + # "jagged_mean": ( |
| 59 | + # "tritonbench.operators.jagged_mean.operator", |
| 60 | + # "examples.jagged_mean", |
| 61 | + # "jagged_mean_tritonbench", |
| 62 | + # ), |
63 | 63 | "flash_attention": (
|
64 | 64 | "tritonbench.operators.flash_attention.operator",
|
65 | 65 | "examples.attention",
|
66 | 66 | "attention",
|
67 | 67 | ),
|
68 |
| - "cross_entropy": ( |
69 |
| - "tritonbench.operators.cross_entropy.operator", |
70 |
| - "examples.cross_entropy", |
71 |
| - "cross_entropy", |
72 |
| - ), |
73 | 68 | "fp8_attention": (
|
74 | 69 | "tritonbench.operators.fp8_attention.operator",
|
75 | 70 | "examples.fp8_attention",
|
76 | 71 | "fp8_attention_tritonbench",
|
77 | 72 | ),
|
| 73 | + "fp8_gemm": ( |
| 74 | + "tritonbench.operators.fp8_gemm.fp8_gemm", |
| 75 | + "examples.fp8_gemm", |
| 76 | + "fp8_gemm_tritonbench", |
| 77 | + ), |
78 | 78 | }
|
79 | 79 |
|
80 | 80 |
|
|
0 commit comments