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 b194b0d commit 9fe888cCopy full SHA for 9fe888c
codeflash/optimization/optimizer.py
@@ -76,7 +76,7 @@ def create_function_optimizer(
76
77
def run(self) -> None:
78
ph("cli-optimize-run-start")
79
- logger.info("Fixing Running optimizer.")
+ logger.info("Running optimizer.")
80
console.rule()
81
if not env_utils.ensure_codeflash_api_key():
82
return
@@ -97,7 +97,7 @@ def run(self) -> None:
97
)
98
function_benchmark_timings: dict[str, dict[BenchmarkKey, int]] = {}
99
total_benchmark_timings: dict[BenchmarkKey, int] = {}
100
- if self.args.benchmark:
+ if self.args.benchmark and num_optimizable_functions > 0:
101
with progress_bar(
102
f"Running benchmarks in {self.args.benchmarks_root}",
103
transient=True,
0 commit comments