mirror of
https://github.com/opendatalab/MinerU.git
synced 2026-03-27 11:08:32 +07:00
feat: optimize dynamic batch size calculation for MFR processing
This commit is contained in:
@@ -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 // 8)
|
||||
return max(1, requested_batch_size // 4)
|
||||
|
||||
|
||||
def finalize_mfr_batch_groups(
|
||||
|
||||
Reference in New Issue
Block a user