File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -318,7 +318,7 @@ def get_rows(properties):
318
318
319
319
show = []
320
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 :
321
+ if rows_full and "n_gpu_layers" not in properties_different :
322
322
ngl = int (rows_full [0 ][KEY_PROPERTIES .index ("n_gpu_layers" )])
323
323
324
324
if ngl != 99 and "cpu_info" not in properties_different :
@@ -338,6 +338,10 @@ def get_rows(properties):
338
338
pass
339
339
rows_show = get_rows (show )
340
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
+
341
345
table = []
342
346
for row in rows_show :
343
347
n_prompt = int (row [- 5 ])
You can’t perform that action at this time.
0 commit comments