We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f3d1a0 commit 9d6efd2Copy full SHA for 9d6efd2
codeflash/optimization/function_optimizer.py
@@ -511,7 +511,9 @@ def determine_best_candidate(
511
self.write_code_and_helpers(
512
self.function_to_optimize_source_code, original_helper_code, self.function_to_optimize.file_path
513
)
514
- if (not len(candidates)) and (not done): # all original candidates processed but lp results haven't been processed
+ if (not len(candidates)) and (
515
+ not done
516
+ ): # all original candidates processed but lp results haven't been processed
517
concurrent.futures.wait([future_line_profile_results])
518
line_profile_results = future_line_profile_results.result()
519
candidates.extend(line_profile_results)
0 commit comments