Skip to content

Commit

Permalink
Add missing declaration of converion_eff
Browse files Browse the repository at this point in the history
  • Loading branch information
nv-rborkar authored and pgmpablo157321 committed May 30, 2024
1 parent 4054425 commit a9f4839
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mlperf_logging/result_summarizer/result_summarizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -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']
Expand Down

0 comments on commit a9f4839

Please sign in to comment.