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 2204ab9 + 890243c commit 491b3c1Copy full SHA for 491b3c1
codeflash/optimization/function_optimizer.py
@@ -535,9 +535,11 @@ def handle_successful_candidate(
535
536
Returns the BestOptimization and optional benchmark tree.
537
"""
538
- line_profile_test_results = self.line_profiler_step(
539
- code_context=code_context, original_helper_code=original_helper_code, candidate_index=candidate_index
540
- )
+ 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
541
+ )
542
+
543
eval_ctx.record_line_profiler_result(candidate.optimization_id, line_profile_test_results["str_out"])
544
545
replay_perf_gain = {}
0 commit comments