Transforms complex documents like PDFs and Office docs into LLM-ready markdown/JSON for your Agentic workflows.
Python ai4sciencedocument-analysisdocxextract-datalayout-analysisocrparserpdfpdf-converterpdf-extractor-llmpdf-extractor-pretrainpdf-extractor-ragpdf-parserpptxpythonxlsx
feat: optimize dynamic batch size calculation for MFR processing
myhloli9b686453528d
diff --git a/mineru/model/mfr/utils.py b/mineru/model/mfr/utils.pyindex f41e3704..c2116b07 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) -> idef get_mfr_min_dynamic_batch_size(requested_batch_size: int) -> int:- return max(1, requested_batch_size // 8)+ return max(1, requested_batch_size // 4)def finalize_mfr_batch_groups(