Skip to content

Commit

Permalink
Update dist_inference.py
Browse files Browse the repository at this point in the history
  • Loading branch information
yzygitzh authored Dec 14, 2023
1 parent c50be8e commit 06e65ad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions superbench/benchmarks/micro_benchmarks/dist_inference.py
Original file line number Diff line number Diff line change
Expand Up @@ -497,6 +497,7 @@ def _process_raw_result(self, cmd_idx, raw_output):
for output_line in output_lines:
if output_line.startswith('Latency of step'):
step_times.append(float(output_line.split(' ms')[0].split()[-1]))
assert (self._args.num_steps == len(step_times))
return self._process_numeric_result(
'step_times', step_times, reduce_type=ReduceType.MAX, cal_percentile=True
)
Expand Down

0 comments on commit 06e65ad

Please sign in to comment.