Skip to content

Commit 247be92

Browse files
authored
Do not benchmark twice (#583)
1 parent bbc2be4 commit 247be92

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

helion/autotuner/differential_evolution.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@ def iter_candidates(self) -> Iterator[tuple[int, PopulationMember]]:
8181
def evolve_population(self) -> int:
8282
replaced = 0
8383
for i, candidate in self.iter_candidates():
84-
candidate = self.benchmark_flat(self.mutate(i))
8584
if candidate.perf < self.population[i].perf:
8685
self.population[i] = candidate
8786
replaced += 1

0 commit comments

Comments
 (0)