Skip to content

Commit 654055d

Browse files
committed
unbound local
1 parent 1e4b3ba commit 654055d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

codeflash/optimization/function_optimizer.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1692,6 +1692,7 @@ def run_optimized_candidate(
16921692

16931693
logger.debug(f"Total optimized code {optimization_candidate_index} runtime (ns): {total_candidate_timing}")
16941694

1695+
candidate_async_throughput = None
16951696
if self.function_to_optimize.is_async:
16961697
candidate_async_throughput = calculate_function_throughput_from_test_results(
16971698
candidate_benchmarking_results, self.function_to_optimize.function_name

0 commit comments

Comments
 (0)