Skip to content

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

fix: update mineru-vl-utils version and adjust transformers constraint in pyproject.toml; enhance support note for vlm-lmdeploy-engine in README_zh-CN.md

myhlolia6f4eb372747
diff --git a/README_zh-CN.md b/README_zh-CN.md
index 2008b58c..2f0023ed 100644
--- a/README_zh-CN.md
+++ b/README_zh-CN.md
@@ -46,7 +46,7 @@
# 更新记录
- 2025/11/26 2.6.5 发布
- - 增加新后端`vlm-lmdeploy-engine`支持,使用方式与`vlm-vllm-(async)engine`类似,但使用`lmdeploy`作为推理引擎,相比`vllm`额外支持Windows平台原生推理加速。
+ - 增加新后端`vlm-lmdeploy-engine`支持,使用方式与`vlm-vllm-(async)engine`类似,但使用`lmdeploy`作为推理引擎,与`vllm`相比额外支持Windows平台原生推理加速。
- 新增国产算力平台`昇腾/npu`、`平头哥/ppu`、`沐曦/maca`的适配支持,用户可在对应平台上使用`pipeline`与`vlm`模型,并使用`vllm`/`lmdeploy`引擎加速vlm模型推理,具体使用方式请参考[其他加速卡适配](https://opendatalab.github.io/MinerU/zh/usage/)。
- 国产平台适配不易,我们已尽量确保适配的完整性和稳定性,但仍可能存在一些稳定性/兼容问题与精度对齐问题,请大家根据适配文档页面内红绿灯情况自行选择合适的环境与场景进行使用。
- 如在使用过程中遇到任何文档未提及的问题,为了其他用户查找解决方案,欢迎在discussions的[指定帖子](https://github.com/opendatalab/MinerU/discussions/4053)中进行反馈。
diff --git a/pyproject.toml b/pyproject.toml
index fcb0dc56..388e26a8 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -39,7 +39,7 @@ dependencies = [
"openai>=1.70.0,<3",
"beautifulsoup4>=4.13.5,<5",
"magika>=0.6.2,<1.1.0",
- "mineru-vl-utils>=0.1.16,<1",
+ "mineru-vl-utils>=0.1.17,<1",
"qwen-vl-utils>=0.0.14,<1",
]
@@ -53,7 +53,7 @@ test = [
]
vlm = [
"torch>=2.6.0,<3",
- "transformers>=4.51.1,<4.57.2",
+ "transformers>=4.51.1,!=4.57.2,<5.0.0",
"accelerate>=1.5.1",
]
vllm = [