Compare commits

...

9 Commits

Author SHA1 Message Date
Xiaomeng Zhao
8e7bf5148a Merge pull request #3196 from myhloli/dev
fix: update Mineru2ImageProcessor constructor to accept additional arguments to adaptation sglang 0.4.9.post5
2025-07-28 19:03:42 +08:00
myhloli
3920a8c1f3 chore: update changelog for sglang 0.4.9.post5 adaptation 2025-07-28 19:01:37 +08:00
myhloli
3c817536b1 chore: update changelog for sglang 0.4.9.post5 adaptation 2025-07-28 19:00:33 +08:00
myhloli
89e3e9e5ce chore: update changelog for sglang 0.4.9.post5 adaptation 2025-07-28 18:58:36 +08:00
myhloli
03276996ce fix: update Dockerfile and documentation to use sglang v0.4.9.post5 2025-07-28 18:49:18 +08:00
myhloli
6411cdfd7c fix: update Mineru2ImageProcessor constructor to accept additional arguments to adaptation sglang 0.4.9.post5 2025-07-28 18:45:41 +08:00
Xiaomeng Zhao
c27681642d Merge pull request #3189 from opendatalab/master
master->dev
2025-07-27 18:42:45 +08:00
myhloli
112e1967e7 Update version.py with new version 2025-07-27 10:38:00 +00:00
Xiaomeng Zhao
fe25040db5 Merge pull request #3187 from opendatalab/release-2.1.7
Release 2.1.7
2025-07-27 18:34:58 +08:00
8 changed files with 21 additions and 17 deletions

View File

@@ -43,6 +43,8 @@
</div>
# Changelog
- 2025/07/28 version 2.1.8 Released
- `sglang` 0.4.9.post5 version adaptation
- 2025/07/27 version 2.1.7 Released
- `transformers` 4.54.0 version adaptation
- 2025/07/26 2.1.6 Released

View File

@@ -43,18 +43,20 @@
</div>
# 更新记录
- 2025/07/27 2.1.7发布
- 2025/07/28 2.1.8 发布
- `sglang` 0.4.9.post5 版本适配
- 2025/07/27 2.1.7 发布
- `transformers` 4.54.0 版本适配
- 2025/07/26 2.1.6发布
- 2025/07/26 2.1.6 发布
- 修复`vlm`后端解析部分手写文档时的表格异常问题
- 修复文档旋转时可视化框位置漂移问题 #3175
- 2025/07/24 2.1.5发布
- 2025/07/24 2.1.5 发布
- `sglang` 0.4.9 版本适配同步升级dockerfile基础镜像为sglang 0.4.9.post3
- 2025/07/23 2.1.4发布
- 2025/07/23 2.1.4 发布
- bug修复
- 修复`pipeline`后端中`MFR`步骤在某些情况下显存消耗过大的问题 #2771
- 修复某些情况下`image`/`table``caption`/`footnote`匹配不准确的问题 #3129
- 2025/07/16 2.1.1发布
- 2025/07/16 2.1.1 发布
- bug修复
- 修复`pipeline`在某些情况可能发生的文本块内容丢失问题 #3005
- 修复`sglang-client`需要安装`torch`等不必要的包的问题 #2968
@@ -62,7 +64,7 @@
- 易用性更新
- 更新`compose.yaml`,便于用户直接启动`sglang-server``mineru-api``mineru-gradio`服务
- 启用全新的[在线文档站点](https://opendatalab.github.io/MinerU/zh/)简化readme提供更好的文档体验
- 2025/07/05 2.1.0发布
- 2025/07/05 2.1.0 发布
- 这是 MinerU 2 的第一个大版本更新包含了大量新功能和改进包含众多性能优化、体验优化和bug修复具体更新内容如下
- 性能优化:
- 大幅提升某些特定分辨率长边2000像素左右文档的预处理速度

View File

@@ -1,7 +1,7 @@
# Use the official sglang image
FROM lmsysorg/sglang:v0.4.9.post4-cu126
FROM lmsysorg/sglang:v0.4.9.post5-cu126
# For blackwell GPU, use the following line instead:
# FROM lmsysorg/sglang:v0.4.9.post4-cu128-b200
# FROM lmsysorg/sglang:v0.4.9.post5-cu128-b200
# Install libgl for opencv support & Noto fonts for Chinese characters
RUN apt-get update && \

View File

@@ -1,7 +1,7 @@
# Use the official sglang image
FROM lmsysorg/sglang:v0.4.9.post4-cu126
FROM lmsysorg/sglang:v0.4.9.post5-cu126
# For blackwell GPU, use the following line instead:
# FROM lmsysorg/sglang:v0.4.9.post4-cu128-b200
# FROM lmsysorg/sglang:v0.4.9.post5-cu128-b200
# Install libgl for opencv support & Noto fonts for Chinese characters
RUN apt-get update && \

View File

@@ -10,8 +10,8 @@ docker build -t mineru-sglang:latest -f Dockerfile .
```
> [!TIP]
> The [Dockerfile](https://github.com/opendatalab/MinerU/blob/master/docker/global/Dockerfile) uses `lmsysorg/sglang:v0.4.9.post4-cu126` as the base image by default, supporting Turing/Ampere/Ada Lovelace/Hopper platforms.
> If you are using the newer `Blackwell` platform, please modify the base image to `lmsysorg/sglang:v0.4.9.post4-cu128-b200` before executing the build operation.
> The [Dockerfile](https://github.com/opendatalab/MinerU/blob/master/docker/global/Dockerfile) uses `lmsysorg/sglang:v0.4.9.post5-cu126` as the base image by default, supporting Turing/Ampere/Ada Lovelace/Hopper platforms.
> If you are using the newer `Blackwell` platform, please modify the base image to `lmsysorg/sglang:v0.4.9.post5-cu128-b200` before executing the build operation.
## Docker Description

View File

@@ -10,8 +10,8 @@ docker build -t mineru-sglang:latest -f Dockerfile .
```
> [!TIP]
> [Dockerfile](https://github.com/opendatalab/MinerU/blob/master/docker/china/Dockerfile)默认使用`lmsysorg/sglang:v0.4.9.post4-cu126`作为基础镜像支持Turing/Ampere/Ada Lovelace/Hopper平台
> 如您使用较新的`Blackwell`平台,请将基础镜像修改为`lmsysorg/sglang:v0.4.9.post4-cu128-b200` 再执行build操作。
> [Dockerfile](https://github.com/opendatalab/MinerU/blob/master/docker/china/Dockerfile)默认使用`lmsysorg/sglang:v0.4.9.post5-cu126`作为基础镜像支持Turing/Ampere/Ada Lovelace/Hopper平台
> 如您使用较新的`Blackwell`平台,请将基础镜像修改为`lmsysorg/sglang:v0.4.9.post5-cu128-b200` 再执行build操作。
## Docker说明

View File

@@ -56,8 +56,8 @@ def process_anyres_image(image, processor, grid_pinpoints):
class Mineru2ImageProcessor(BaseProcessor):
def __init__(self, hf_config, server_args, _processor):
super().__init__(hf_config, server_args, _processor)
def __init__(self, hf_config, server_args, _processor, *args, **kwargs):
super().__init__(hf_config, server_args, _processor, *args, **kwargs)
@staticmethod
def _process_single_image_task(

View File

@@ -1 +1 @@
__version__ = "2.1.6"
__version__ = "2.1.7"