Skip to content

Commit

Permalink
[micro_perf] fix the qps to 1e6
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinsouthByteDance committed Aug 19, 2024
1 parent 51906dd commit da12e24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion byte_micro_perf/backends/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ def dump_computation_ops_report(
batch_size, total_io_amount, read_io_amount, write_io_amount = get_io_amount(op_name, input_shapes, dtype)

if error == "":
qps = round(1000 / latency * batch_size, 2) * 1000
qps = round(1e6 / latency * batch_size, 2)
algo_bw = total_io_amount / latency / 1e3

bandwidth_utils = None
Expand Down

0 comments on commit da12e24

Please sign in to comment.