Skip to content

Commit f53375a

Browse files
Apply Ruff auto-fixes
1 parent 1509fd5 commit f53375a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

benchmarks/bench_load_latency.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,9 @@ def print_run_settings(
261261
for destination_rank in range(num_ranks):
262262
delta = mm_end_cpu[destination_rank, :] - mm_begin_cpu[destination_rank, :]
263263
avg_cc = float(delta.sum() / max(1, delta.size) / max(1, niter))
264-
local_latency[destination_rank] = avg_cc * 10 # since the value is updated every 10ns (cc freq is 100MHZ in MI300)
264+
local_latency[destination_rank] = (
265+
avg_cc * 10
266+
) # since the value is updated every 10ns (cc freq is 100MHZ in MI300)
265267

266268
latency_matrix = mpi_allgather(local_latency.cpu())
267269

0 commit comments

Comments
 (0)