Skip to content

Commit 9fe888c

Browse files
committed
debugging
1 parent b194b0d commit 9fe888c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

codeflash/optimization/optimizer.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def create_function_optimizer(
7676

7777
def run(self) -> None:
7878
ph("cli-optimize-run-start")
79-
logger.info("Fixing Running optimizer.")
79+
logger.info("Running optimizer.")
8080
console.rule()
8181
if not env_utils.ensure_codeflash_api_key():
8282
return
@@ -97,7 +97,7 @@ def run(self) -> None:
9797
)
9898
function_benchmark_timings: dict[str, dict[BenchmarkKey, int]] = {}
9999
total_benchmark_timings: dict[BenchmarkKey, int] = {}
100-
if self.args.benchmark:
100+
if self.args.benchmark and num_optimizable_functions > 0:
101101
with progress_bar(
102102
f"Running benchmarks in {self.args.benchmarks_root}",
103103
transient=True,

0 commit comments

Comments
 (0)