|
@@ -51,6 +51,10 @@ Easier to use: Just grab MinerU Desktop. No coding, no login, just a simple inte
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
# Changelog
|
|
# Changelog
|
|
|
|
|
+- 2025/06/15 2.0.2 released
|
|
|
|
|
+ - Fixed a configuration file key-value update error that occurred when downloading model type was set to `all`
|
|
|
|
|
+ - Fixed an issue where formula and table feature toggle parameters in the command line interface could not be effectively disabled
|
|
|
|
|
+ - Updated Dockerfile and installation documentation for deploying the full version of MinerU in sglang environment
|
|
|
- 2025/06/13 2.0.0 Released
|
|
- 2025/06/13 2.0.0 Released
|
|
|
- MinerU 2.0 represents a comprehensive reconstruction and upgrade from architecture to functionality, delivering a more streamlined design, enhanced performance, and more flexible user experience.
|
|
- MinerU 2.0 represents a comprehensive reconstruction and upgrade from architecture to functionality, delivering a more streamlined design, enhanced performance, and more flexible user experience.
|
|
|
- **New Architecture**: MinerU 2.0 has been deeply restructured in code organization and interaction methods, significantly improving system usability, maintainability, and extensibility.
|
|
- **New Architecture**: MinerU 2.0 has been deeply restructured in code organization and interaction methods, significantly improving system usability, maintainability, and extensibility.
|
|
@@ -482,7 +486,7 @@ There are three different ways to experience MinerU:
|
|
|
```bash
|
|
```bash
|
|
|
pip install --upgrade pip
|
|
pip install --upgrade pip
|
|
|
pip install uv
|
|
pip install uv
|
|
|
-uv pip install "mineru[core]>=2.0.0"
|
|
|
|
|
|
|
+uv pip install -U "mineru[core]"
|
|
|
```
|
|
```
|
|
|
|
|
|
|
|
#### 1.2 Install from source
|
|
#### 1.2 Install from source
|
|
@@ -493,19 +497,40 @@ cd MinerU
|
|
|
uv pip install -e .[core]
|
|
uv pip install -e .[core]
|
|
|
```
|
|
```
|
|
|
|
|
|
|
|
-#### 1.3 Install full version (with sglang acceleration)
|
|
|
|
|
-
|
|
|
|
|
-To use **sglang acceleration for VLM model inference**, install the full version:
|
|
|
|
|
-
|
|
|
|
|
-```bash
|
|
|
|
|
-uv pip install "mineru[all]>=2.0.0"
|
|
|
|
|
-```
|
|
|
|
|
-
|
|
|
|
|
-Or install from source:
|
|
|
|
|
-
|
|
|
|
|
-```bash
|
|
|
|
|
-uv pip install -e .[all]
|
|
|
|
|
-```
|
|
|
|
|
|
|
+#### 1.3 Install the Full Version (Supports sglang Acceleration)
|
|
|
|
|
+
|
|
|
|
|
+If you need to use **sglang to accelerate VLM model inference**, you can choose any of the following methods to install the full version:
|
|
|
|
|
+
|
|
|
|
|
+- Install using uv or pip:
|
|
|
|
|
+ ```bash
|
|
|
|
|
+ uv pip install -U "mineru[all]"
|
|
|
|
|
+ ```
|
|
|
|
|
+- Install from source:
|
|
|
|
|
+ ```bash
|
|
|
|
|
+ uv pip install -e .[all]
|
|
|
|
|
+ ```
|
|
|
|
|
+- Build image using Dockerfile:
|
|
|
|
|
+ ```bash
|
|
|
|
|
+ wget https://gcore.jsdelivr.net/gh/opendatalab/MinerU@master/docker/global/Dockerfile
|
|
|
|
|
+ docker build -t mineru-sglang:latest -f Dockerfile .
|
|
|
|
|
+ ```
|
|
|
|
|
+ Start Docker container:
|
|
|
|
|
+ ```bash
|
|
|
|
|
+ docker run --gpus all \
|
|
|
|
|
+ --shm-size 32g \
|
|
|
|
|
+ -p 30000:30000 \
|
|
|
|
|
+ --ipc=host \
|
|
|
|
|
+ mineru-sglang:latest \
|
|
|
|
|
+ mineru-sglang-server --host 0.0.0.0 --port 30000
|
|
|
|
|
+ ```
|
|
|
|
|
+ Or start using Docker Compose:
|
|
|
|
|
+ ```bash
|
|
|
|
|
+ wget https://gcore.jsdelivr.net/gh/opendatalab/MinerU@master/docker/compose.yaml
|
|
|
|
|
+ docker compose -f compose.yaml up -d
|
|
|
|
|
+ ```
|
|
|
|
|
+
|
|
|
|
|
+> [!TIP]
|
|
|
|
|
+> The Dockerfile uses `lmsysorg/sglang:v0.4.7-cu124` as the default base image. If necessary, you can modify it to another platform version.
|
|
|
|
|
|
|
|
---
|
|
---
|
|
|
|
|
|
|
@@ -629,7 +654,8 @@ mineru-sglang-server --port 30000
|
|
|
mineru -p <input_path> -o <output_path> -b vlm-sglang-client -u http://127.0.0.1:30000
|
|
mineru -p <input_path> -o <output_path> -b vlm-sglang-client -u http://127.0.0.1:30000
|
|
|
```
|
|
```
|
|
|
|
|
|
|
|
-> 💡 For more information about output files, please refer to [Output File Documentation](docs/output_file_en_us.md)
|
|
|
|
|
|
|
+> [!TIP]
|
|
|
|
|
+> For more information about output files, please refer to [Output File Documentation](docs/output_file_en_us.md)
|
|
|
|
|
|
|
|
---
|
|
---
|
|
|
|
|
|