Skip to content

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

fix: remove unused batch_ratio variable from pipeline_analyze.py

myhloli4a86044b3035
diff --git a/mineru/backend/pipeline/pipeline_analyze.py b/mineru/backend/pipeline/pipeline_analyze.py
index f765c666..33e617fd 100644
--- a/mineru/backend/pipeline/pipeline_analyze.py
+++ b/mineru/backend/pipeline/pipeline_analyze.py
@@ -159,7 +159,6 @@ def batch_image_analyze(
model_manager = ModelSingleton()
- batch_ratio = 1
device = get_device()
if str(device).startswith('npu'):