Skip to content

Commit 19246ef

Browse files
Apply suggestion from @JohannesGaessler
Co-authored-by: Johannes Gäßler <[email protected]>
1 parent ad6ba55 commit 19246ef

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

scripts/compare-llama-bench.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,8 +235,10 @@ def __init__(self, tool: str = "llama-bench"):
235235
# Set schema-specific properties based on tool
236236
if self.tool == "llama-bench":
237237
self.check_keys = set(LLAMA_BENCH_KEY_PROPERTIES + ["build_commit", "test_time", "avg_ts"])
238-
else: # test-backend-ops
238+
elif self.tool == "test-backend-ops":
239239
self.check_keys = set(TEST_BACKEND_OPS_KEY_PROPERTIES + ["build_commit", "test_time"])
240+
else:
241+
assert False
240242

241243
def _builds_init(self):
242244
self.build_len = self.build_len_min

0 commit comments

Comments
 (0)