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.
2 parents e895c52 + 890243c commit ac2a3a1Copy full SHA for ac2a3a1
codeflash/optimization/function_optimizer.py
@@ -575,9 +575,11 @@ def handle_successful_candidate(
575
576
Returns the BestOptimization and optional benchmark tree.
577
"""
578
- line_profile_test_results = self.line_profiler_step(
579
- code_context=code_context, original_helper_code=original_helper_code, candidate_index=candidate_index
580
- )
+ with progress_bar("Running line-by-line profiling"):
+ line_profile_test_results = self.line_profiler_step(
+ code_context=code_context, original_helper_code=original_helper_code, candidate_index=candidate_index
581
+ )
582
+
583
eval_ctx.record_line_profiler_result(candidate.optimization_id, line_profile_test_results["str_out"])
584
585
replay_perf_gain = {}
0 commit comments