Skip to content

Commit 5dd80d3

Browse files
authored
Fix latency benchmark script (#2035)
1 parent beeee69 commit 5dd80d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

benchmarks/benchmark_latency.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def run_to_completion(profile_dir: Optional[str] = None):
7272
# Benchmark.
7373
latencies = []
7474
for _ in tqdm(range(args.num_iters), desc="Profiling iterations"):
75-
latencies.append(run_to_completion(profile=False))
75+
latencies.append(run_to_completion(profile_dir=None))
7676
print(f'Avg latency: {np.mean(latencies)} seconds')
7777

7878

0 commit comments

Comments
 (0)