Skip to content

Transforms complex documents like PDFs and Office docs into LLM-ready markdown/JSON for your Agentic workflows.

feat: update minimum dynamic batch size for MFR processing to 16

myhlolied3731ba9617
diff --git a/mineru/model/mfr/utils.py b/mineru/model/mfr/utils.py
index c2116b07..9b99fe4c 100644
--- a/mineru/model/mfr/utils.py
+++ b/mineru/model/mfr/utils.py
@@ -353,7 +353,7 @@ def get_mfr_effective_batch_size(num_items: int, requested_batch_size: int) -> i
def get_mfr_min_dynamic_batch_size(requested_batch_size: int) -> int:
- return max(1, requested_batch_size // 4)
+ return max(16, requested_batch_size // 4)
def finalize_mfr_batch_groups(