Skip to content

Commit

Permalink
percent_utilization 0-100
Browse files Browse the repository at this point in the history
  • Loading branch information
tanner-andrulis committed Jan 9, 2025
1 parent 9bb141b commit 492cdcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion timeloopfe/v4/output_parsing.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def parse_stats_file(path: str) -> Tuple[int, int, float, dict]:
if "Cycles: " in l:
cycles = int(l.split()[-1])
if "Utilization" in l:
util = float(l.split()[-1][:-1]) / 100
util = float(l.split()[-1][:-1])

assert cycles is not None, f"Could not find cycles in stats at {path}."
assert computes is not None, f"Could not find computes in stats at {path}."
Expand Down

0 comments on commit 492cdcf

Please sign in to comment.