Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 8866b61

Browse files
committedJan 29, 2025·
Add some fixes
Signed-off-by: Stanley Winata <[email protected]>
1 parent 0a9526a commit 8866b61

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎.github/workflows/run_bench.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ jobs:
7575
python convbench/conv_bench.py --roofline results/iree_attention_tk.csv --plot results/iree_attention_tk_fp8.png --dtype f8E4M3FNUZ
7676
python convbench/conv_bench.py --roofline results/iree_gemm.csv --plot results/iree_gemm.png
7777
python convbench/conv_bench.py --roofline results/iree_gemm_tk.csv --plot results/iree_gemm_tk.png
78-
python convbench/conv_bench.py --roofline results/iree_gemm.csv,results/iree_gemm_tk.csv,results/iree_attention.csv,results/iree_conv.csv,results/iree_conv_tk.csv --plot results/combined.png
78+
python convbench/conv_bench.py --roofline results/iree_gemm.csv,results/iree_gemm_tk.csv,results/iree_attention.csv,results/iree_attention_tk.csv,results/iree_conv.csv,results/iree_conv_tk.csv --plot results/combined.png
7979
8080
- name: Upload benchmark results
8181
uses: actions/upload-artifact@v4

‎common_tools/utils/bench_utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ def roofline(results=None, out=None, batch=None, dtype=None, model=None, **kwarg
154154
if model:
155155
data = filter_model(data, model)
156156
if len(data) == 0:
157-
raise ValueError("No data to plot. If you set filters, there were no kernels with the target config")
157+
raise ValueError(f"No data to plot from file {result_file} with filter: {batch}, {dtype}, {model}. If you set filters, there were no kernels with the target config")
158158
x = [item['arithmetic_intensity'] for item in data]
159159
y = [item['tflops'] for item in data]
160160

0 commit comments

Comments
 (0)
Please sign in to comment.