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 dcc96c2 commit f86e2ceCopy full SHA for f86e2ce
openevolve/process_parallel.py
@@ -388,7 +388,7 @@ async def run_evolution(
388
batch_size = min(self.num_workers * 2, max_iterations)
389
390
# Submit initial batch - distribute across islands
391
- batch_per_island = max(1, batch_size // self.num_islands)
+ batch_per_island = max(1, batch_size // self.num_islands) if batch_size > 0 else 0
392
current_iteration = start_iteration
393
394
# Round-robin distribution across islands
0 commit comments