Skip to content

Commit b1304eb

Browse files
missed fixes
1 parent ae03ba6 commit b1304eb

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

Ironwood/src/benchmark_attention.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
"""A script to benchmark tokamax splash attention implementation."""
22

3-
# pylint: disable=g-importing-member
43
import dataclasses
54
from functools import partial
65
import logging

Ironwood/src/run_benchmark.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -552,7 +552,8 @@ def run_benchmark_multithreaded(benchmark_config, output_path):
552552
future.result()
553553
) # Get the result from the future
554554

555-
# Filter benchmark_results to include only keys present in calculate_metrics_func
555+
# Filter benchmark_results to include only keys present in
556+
# calculate_metrics_func
556557
calculate_metrics_params = inspect.signature(
557558
calculate_metrics_func
558559
).parameters
@@ -562,7 +563,8 @@ def run_benchmark_multithreaded(benchmark_config, output_path):
562563
if key in calculate_metrics_params
563564
}
564565

565-
# Call calculate_metrics_func with the filtered results and benchmark_param
566+
# Call calculate_metrics_func with the filtered results and
567+
# benchmark_param
566568
metadata, metrics = calculate_metrics_func(
567569
**benchmark_param, **filtered_benchmark_results
568570
)

0 commit comments

Comments
 (0)