Skip to content

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

feat: remove unnecessary VRAM cleanup call in batch analysis process

myhlolicc3d02dea5fe
diff --git a/mineru/backend/pipeline/batch_analyze.py b/mineru/backend/pipeline/batch_analyze.py
index aeaaa4dc..dcdd7a39 100644
--- a/mineru/backend/pipeline/batch_analyze.py
+++ b/mineru/backend/pipeline/batch_analyze.py
@@ -586,8 +586,6 @@ class BatchAnalyze:
[img_dict["dt_box"], html.escape(ocr_res[0]), ocr_res[1]]
]
- clean_vram(self.model.device, vram_threshold=8)
-
# 先对所有表格使用无线表格模型,然后对分类为有线的表格使用有线表格模型
wireless_table_model = atom_model_manager.get_atom_model(
atom_model_name=AtomicModel.WirelessTable,