mirror of
https://github.com/opendatalab/MinerU.git
synced 2026-03-27 11:08:32 +07:00
fix: update base image version in Dockerfile and documentation
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
# Use DaoCloud mirrored sglang image for China region
|
||||
FROM docker.m.daocloud.io/lmsysorg/sglang:v0.4.9.post6-cu126
|
||||
FROM docker.m.daocloud.io/lmsysorg/sglang:v0.4.10.post2-cu126
|
||||
# For blackwell GPU, use the following line instead:
|
||||
# FROM docker.m.daocloud.io/lmsysorg/sglang:v0.4.9.post6-cu128-b200
|
||||
# FROM docker.m.daocloud.io/lmsysorg/sglang:v0.4.10.post2-cu128-b200
|
||||
|
||||
# Use the official sglang image
|
||||
# FROM lmsysorg/sglang:v0.4.9.post6-cu126
|
||||
# FROM lmsysorg/sglang:v0.4.10.post2-cu126
|
||||
# For blackwell GPU, use the following line instead:
|
||||
# FROM lmsysorg/sglang:v0.4.9.post6-cu128-b200
|
||||
# FROM lmsysorg/sglang:v0.4.10.post2-cu128-b200
|
||||
|
||||
# Install libgl for opencv support & Noto fonts for Chinese characters
|
||||
RUN apt-get update && \
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# Use the official sglang image
|
||||
FROM lmsysorg/sglang:v0.4.9.post6-cu126
|
||||
FROM lmsysorg/sglang:v0.4.10.post2-cu126
|
||||
# For blackwell GPU, use the following line instead:
|
||||
# FROM lmsysorg/sglang:v0.4.9.post6-cu128-b200
|
||||
# FROM lmsysorg/sglang:v0.4.10.post2-cu128-b200
|
||||
|
||||
# Install libgl for opencv support & Noto fonts for Chinese characters
|
||||
RUN apt-get update && \
|
||||
|
||||
@@ -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.post6-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.post6-cu128-b200` before executing the build operation.
|
||||
> The [Dockerfile](https://github.com/opendatalab/MinerU/blob/master/docker/global/Dockerfile) uses `lmsysorg/sglang:v0.4.10.post2-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.10.post2-cu128-b200` before executing the build operation.
|
||||
|
||||
## Docker Description
|
||||
|
||||
|
||||
@@ -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.post6-cu126`作为基础镜像,支持Turing/Ampere/Ada Lovelace/Hopper平台,
|
||||
> 如您使用较新的`Blackwell`平台,请将基础镜像修改为`lmsysorg/sglang:v0.4.9.post6-cu128-b200` 再执行build操作。
|
||||
> [Dockerfile](https://github.com/opendatalab/MinerU/blob/master/docker/china/Dockerfile)默认使用`lmsysorg/sglang:v0.4.10.post2-cu126`作为基础镜像,支持Turing/Ampere/Ada Lovelace/Hopper平台,
|
||||
> 如您使用较新的`Blackwell`平台,请将基础镜像修改为`lmsysorg/sglang:v0.4.10.post2-cu128-b200` 再执行build操作。
|
||||
|
||||
## Docker说明
|
||||
|
||||
|
||||
@@ -49,12 +49,12 @@ test = [
|
||||
]
|
||||
vlm = [
|
||||
"transformers>=4.51.1",
|
||||
"torch>=2.6.0",
|
||||
"torch>=2.6.0,<2.8.0",
|
||||
"accelerate>=1.5.1",
|
||||
"pydantic",
|
||||
]
|
||||
sglang = [
|
||||
"sglang[all]>=0.4.7,<0.4.10",
|
||||
"sglang[all]>=0.4.7,<0.4.11",
|
||||
]
|
||||
pipeline = [
|
||||
"matplotlib>=3.10,<4",
|
||||
@@ -68,7 +68,7 @@ pipeline = [
|
||||
"shapely>=2.0.7,<3",
|
||||
"pyclipper>=1.3.0,<2",
|
||||
"omegaconf>=2.3.0,<3",
|
||||
"torch>=2.6.0,<3",
|
||||
"torch>=2.6.0,<2.8.0",
|
||||
"torchvision",
|
||||
"transformers>=4.49.0,!=4.51.0,<5.0.0",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user