Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wangsen
MinerU
Commits
087a4e00
Commit
087a4e00
authored
Jun 13, 2025
by
myhloli
Browse files
Merge remote-tracking branch 'origin/dev' into dev
parents
878b9e47
f80f19c2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
2 deletions
+14
-2
README_zh-CN.md
README_zh-CN.md
+14
-2
No files found.
README_zh-CN.md
View file @
087a4e00
...
@@ -589,8 +589,6 @@ Options:
...
@@ -589,8 +589,6 @@ Options:
或通过交互式命令行下载模型文件
或通过交互式命令行下载模型文件
```
commandline
```
commandline
mineru-models-download
mineru-models-download
Please select the model download source: (huggingface, modelscope) [huggingface]:
Please select the model type to download: (pipeline, vlm, all) [all]:
```
```
模型下载完成后,会自动将本地模型路径配置在用户目录的
`mineru.json`
中
模型下载完成后,会自动将本地模型路径配置在用户目录的
`mineru.json`
中
您可以在下次执行MinerU时,直接使用本地模型文件进行解析
您可以在下次执行MinerU时,直接使用本地模型文件进行解析
...
@@ -603,6 +601,20 @@ export MINERU_MODEL_SOURCE=local
...
@@ -603,6 +601,20 @@ export MINERU_MODEL_SOURCE=local
mineru
-p
<input_path>
-o
<output_path>
mineru
-p
<input_path>
-o
<output_path>
```
```
###### 使用sglang加速的vlm模型推理
MinerU支持使用sglang加速VLM模型推理,您可以通过以下方式启用sglang加速
```
commandline
mineru -p <input_path> -o <output_path> -b vlm-sglang-engine
```
同时您也可以使用sglang原生的sever/client模式进行推理
```
commandline
mineru-sglang-server --port 30000
```
在一个终端中启动sglang server后,您可以在另一个终端中使用sglang-client进行推理
```
commandline
mineru -p <input_path> -o <output_path> -b vlm-sglang-client -u http://127.0.0.1:30000
```
> [!TIP]
> [!TIP]
> 更多有关输出文件的信息,请参考[输出文件说明](docs/output_file_zh_cn.md)
> 更多有关输出文件的信息,请参考[输出文件说明](docs/output_file_zh_cn.md)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment