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 8fa6cc8 commit 5fbed44Copy full SHA for 5fbed44
helion/autotuner/base_search.py
@@ -393,11 +393,12 @@ def population_statistics(population: list[PopulationMember]) -> str:
393
working = [x for x in population if not math.isinf(x.perf)]
394
return (
395
f"failed={len(population) - len(working)} "
396
+ ) + (
397
f"min={working[0].perf:.4f} "
398
f"mid={working[len(working) // 2].perf:.4f} "
399
f"max={working[-1].perf:.4f} "
400
f"best={population[0].config!s}"
- )
401
+ ) if len(working) > 0 else "all failed!"
402
403
f"min={population[0].perf:.4f} "
404
f"mid={population[len(population) // 2].perf:.4f} "
0 commit comments