From ef20adb22c4f53fcbe5ff2a142183aa5887aaa55 Mon Sep 17 00:00:00 2001 From: WeiguangHan Date: Mon, 5 Feb 2024 17:27:34 +0800 Subject: [PATCH] LLM: small fix for the html script (#10094) --- python/llm/test/benchmark/csv_to_html.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/llm/test/benchmark/csv_to_html.py b/python/llm/test/benchmark/csv_to_html.py index bb31594f2cf..9e930fedb34 100644 --- a/python/llm/test/benchmark/csv_to_html.py +++ b/python/llm/test/benchmark/csv_to_html.py @@ -31,7 +31,7 @@ def highlight_vals(val, max=3.0, color1='red', color2='green'): return '' def nonzero_min(lst): - non_zero_lst = [num for num in lst if num >= 0.0] + non_zero_lst = [num for num in lst if num > 0.0] return min(non_zero_lst) if non_zero_lst else None def is_diffs_within_normal_range(diff1, diff2, threshold=5.0):