From 19d38ac55cac31b40509f10e55596ec4eea25b96 Mon Sep 17 00:00:00 2001 From: Ritika Borkar Date: Thu, 30 May 2024 11:42:18 -0700 Subject: [PATCH] Add missing declaration of converion_eff --- mlperf_logging/result_summarizer/result_summarizer.py | 1 + 1 file changed, 1 insertion(+) diff --git a/mlperf_logging/result_summarizer/result_summarizer.py b/mlperf_logging/result_summarizer/result_summarizer.py index e5fe303..42161cc 100644 --- a/mlperf_logging/result_summarizer/result_summarizer.py +++ b/mlperf_logging/result_summarizer/result_summarizer.py @@ -543,6 +543,7 @@ def _compute_power_node(loglines, time_to_train): def _compute_power_sw(loglines, time_to_train): agg_power = 0 + conversion_eff = 1.0 for logline in loglines: if logline.key == "conversion_eff": conversion_eff = logline.value['value']