Skip to content

Commit 0817b17

Browse files
committed
almost final
1 parent eb4bba7 commit 0817b17

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/process_omol25/process_omol25.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -344,11 +344,11 @@ def handle_signal(signum, frame):
344344
num_tasks = len(self.indices_to_process)
345345

346346
if getattr(self.args, "batch_size", None) is not None:
347-
self.batch_size = max(50, self.args.batch_size)
347+
self.batch_size = max(100, self.args.batch_size)
348348
else:
349349
active_workers = max(1, self.size - 1) if self.size > 1 else max(1, self.size)
350350
tasks_per_worker = max(1, num_tasks / active_workers)
351-
self.batch_size = max(50, int(tasks_per_worker * 0.01))
351+
self.batch_size = max(100, int(tasks_per_worker * 0.01))
352352

353353
if self.rank == 0:
354354
logger.info(f"Using flush batch size of {self.batch_size}")

0 commit comments

Comments
 (0)