We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7474e00 commit 0923237Copy full SHA for 0923237
scripts/compare-llama-bench.py
@@ -318,7 +318,7 @@ def get_rows(properties):
318
319
show = []
320
# Show CPU and/or GPU by default even if the hardware for all results is the same:
321
- if "n_gpu_layers" not in properties_different:
+ if rows_full and "n_gpu_layers" not in properties_different:
322
ngl = int(rows_full[0][KEY_PROPERTIES.index("n_gpu_layers")])
323
324
if ngl != 99 and "cpu_info" not in properties_different:
@@ -338,6 +338,10 @@ def get_rows(properties):
338
pass
339
rows_show = get_rows(show)
340
341
+if not rows_show:
342
+ logger.error(f"No comparable data was found between {name_baseline} and {name_compare}.\n")
343
+ sys.exit(1)
344
+
345
table = []
346
for row in rows_show:
347
n_prompt = int(row[-5])
0 commit comments