Skip to content

Commit 7ceee7f

Browse files
authored
Merge pull request #3197 from opendatalab/release-2.1.8
Release 2.1.8
2 parents 112e196 + 8e7bf51 commit 7ceee7f

File tree

7 files changed

+20
-16
lines changed

7 files changed

+20
-16
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@
4343
</div>
4444

4545
# Changelog
46+
- 2025/07/28 version 2.1.8 Released
47+
- `sglang` 0.4.9.post5 version adaptation
4648
- 2025/07/27 version 2.1.7 Released
4749
- `transformers` 4.54.0 version adaptation
4850
- 2025/07/26 2.1.6 Released

README_zh-CN.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,26 +43,28 @@
4343
</div>
4444

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

docker/china/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Use the official sglang image
2-
FROM lmsysorg/sglang:v0.4.9.post4-cu126
2+
FROM lmsysorg/sglang:v0.4.9.post5-cu126
33
# For blackwell GPU, use the following line instead:
4-
# FROM lmsysorg/sglang:v0.4.9.post4-cu128-b200
4+
# FROM lmsysorg/sglang:v0.4.9.post5-cu128-b200
55

66
# Install libgl for opencv support & Noto fonts for Chinese characters
77
RUN apt-get update && \

docker/global/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Use the official sglang image
2-
FROM lmsysorg/sglang:v0.4.9.post4-cu126
2+
FROM lmsysorg/sglang:v0.4.9.post5-cu126
33
# For blackwell GPU, use the following line instead:
4-
# FROM lmsysorg/sglang:v0.4.9.post4-cu128-b200
4+
# FROM lmsysorg/sglang:v0.4.9.post5-cu128-b200
55

66
# Install libgl for opencv support & Noto fonts for Chinese characters
77
RUN apt-get update && \

docs/en/quick_start/docker_deployment.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ docker build -t mineru-sglang:latest -f Dockerfile .
1010
```
1111

1212
> [!TIP]
13-
> 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.
14-
> 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.
13+
> 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.
14+
> 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.
1515
1616
## Docker Description
1717

docs/zh/quick_start/docker_deployment.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ docker build -t mineru-sglang:latest -f Dockerfile .
1010
```
1111

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

mineru/model/vlm_sglang_model/image_processor.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ def process_anyres_image(image, processor, grid_pinpoints):
5656

5757

5858
class Mineru2ImageProcessor(BaseProcessor):
59-
def __init__(self, hf_config, server_args, _processor):
60-
super().__init__(hf_config, server_args, _processor)
59+
def __init__(self, hf_config, server_args, _processor, *args, **kwargs):
60+
super().__init__(hf_config, server_args, _processor, *args, **kwargs)
6161

6262
@staticmethod
6363
def _process_single_image_task(

0 commit comments

Comments
 (0)