Skip to content

Commit 12aa9ef

Browse files
committed
Test skiplist approach
1 parent 0fbe25b commit 12aa9ef

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/triton-benchmarks.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ jobs:
116116
python setup.py install
117117
118118
- name: Run Triton Softmax kernel benchmark
119-
if: ${{ steps.install.outcome == 'success' && !cancelled() && contains(inputs.skip_benchmarks, 'fused_softmax.py') }}
119+
if: ${{ steps.install.outcome == 'success' && !cancelled() && !contains(inputs.skip_benchmarks, 'fused_softmax.py') }}
120120
run: |
121121
cd benchmarks/triton_kernels_benchmark
122122
python fused_softmax.py --reports $REPORTS
@@ -125,7 +125,7 @@ jobs:
125125
python ../../scripts/build_report.py $REPORTS/softmax-performance.csv $REPORTS/softmax-xetla-report.csv --benchmark softmax --compiler xetla --param_cols "N" --tflops_col XeTLA-TFlops --hbm_col "XeTLA-GB/s" --tag $TAG
126126
127127
- name: Run Triton GEMM kernel benchmark
128-
if: ${{ steps.install.outcome == 'success' && !cancelled() && contains(inputs.skip_benchmarks, 'gemm_benchmark.py') }}
128+
if: ${{ steps.install.outcome == 'success' && !cancelled() && !contains(inputs.skip_benchmarks, 'gemm_benchmark.py') }}
129129
run: |
130130
cd benchmarks/triton_kernels_benchmark
131131
python gemm_benchmark.py --reports $REPORTS
@@ -136,7 +136,7 @@ jobs:
136136
python ../../scripts/build_report.py $REPORTS/matmul-performance-base.csv $REPORTS/gemm-xetla-report.csv --benchmark gemm --compiler xetla --param_cols "B,M,K,N" --tflops_col XeTLA-TFlops --hbm_col "XeTLA-GB/s" --tag $TAG
137137
138138
- name: Run Triton GEMM kernel benchmark - default path
139-
if: ${{ steps.install.outcome == 'success' && !cancelled() && contains(inputs.skip_benchmarks, 'gemm_benchmark.py_default') }}
139+
if: ${{ steps.install.outcome == 'success' && !cancelled() && !contains(inputs.skip_benchmarks, 'gemm_benchmark.py_default') }}
140140
run: |
141141
cd benchmarks/triton_kernels_benchmark
142142
# Default path:
@@ -152,7 +152,7 @@ jobs:
152152
python ../../scripts/build_report.py $REPORTS/matmul-performance-default-path.csv $REPORTS/gemm-triton-default-report.csv --benchmark gemm --compiler triton --param_cols "B,M,K,N" --tflops_col Triton-TFlops --hbm_col "Triton-GB/s" --tag $TAG
153153
154154
- name: Run Triton GEMM kernel benchmark - advanced path
155-
if: ${{ steps.install.outcome == 'success' && !cancelled() && contains(inputs.skip_benchmarks, 'gemm_benchmark.py_advanced') }}
155+
if: ${{ steps.install.outcome == 'success' && !cancelled() && !contains(inputs.skip_benchmarks, 'gemm_benchmark.py_advanced') }}
156156
run: |
157157
cd benchmarks/triton_kernels_benchmark
158158
# Advanced path:
@@ -168,7 +168,7 @@ jobs:
168168
python ../../scripts/build_report.py $REPORTS/matmul-performance-adv-path.csv $REPORTS/gemm-triton-advanced-report.csv --benchmark gemm --compiler triton --param_cols "B,M,K,N" --tflops_col Triton-TFlops --hbm_col "Triton-GB/s" --tag $TAG
169169
170170
- name: Run Triton GEMM (A@B^t) kernel benchmark
171-
if: ${{ steps.install.outcome == 'success' && !cancelled() && contains(inputs.skip_benchmarks, 'gemm_benchmark.py_abt') }}
171+
if: ${{ steps.install.outcome == 'success' && !cancelled() && !contains(inputs.skip_benchmarks, 'gemm_benchmark.py_abt') }}
172172
run: |
173173
cd benchmarks/triton_kernels_benchmark
174174
TRANSPOSE_B=1 python gemm_benchmark.py --reports $REPORTS
@@ -179,7 +179,7 @@ jobs:
179179
python ../../scripts/build_report.py $REPORTS/matmul-performance-bt.csv $REPORTS/gemm-bt-onednn-report.csv --benchmark gemm-bt --compiler onednn --param_cols "B,M,K,N" --tflops_col onednn-TFlops --hbm_col "onednn-GB/s" --tag $TAG
180180
181181
- name: Run Triton GEMM (A^t@B) kernel benchmark
182-
if: ${{ steps.install.outcome == 'success' && !cancelled() && contains(inputs.skip_benchmarks, 'gemm_benchmark.py_atb') }}
182+
if: ${{ steps.install.outcome == 'success' && !cancelled() && !contains(inputs.skip_benchmarks, 'gemm_benchmark.py_atb') }}
183183
run: |
184184
cd benchmarks/triton_kernels_benchmark
185185
TRANSPOSE_A=1 python gemm_benchmark.py --reports $REPORTS

0 commit comments

Comments
 (0)