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
a7602a56
Commit
a7602a56
authored
Jul 14, 2025
by
myhloli
Browse files
docs: enhance usage tips in advanced_cli_parameters.md and improve output path details in index.md
parent
d238f52d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
docs/zh/usage/advanced_cli_parameters.md
docs/zh/usage/advanced_cli_parameters.md
+2
-0
docs/zh/usage/index.md
docs/zh/usage/index.md
+4
-4
No files found.
docs/zh/usage/advanced_cli_parameters.md
View file @
a7602a56
...
@@ -46,10 +46,12 @@
...
@@ -46,10 +46,12 @@
> [!TIP]
> [!TIP]
> 以下是一些可能的使用场景:
> 以下是一些可能的使用场景:
>
> - 如果您有多张显卡,需要指定卡0和卡1,并使用多卡并行来启动'sglang-server',可以使用以下命令:
> - 如果您有多张显卡,需要指定卡0和卡1,并使用多卡并行来启动'sglang-server',可以使用以下命令:
> ```bash
> ```bash
> CUDA_VISIBLE_DEVICES=0,1 mineru-sglang-server --port 30000 --dp-size 2
> CUDA_VISIBLE_DEVICES=0,1 mineru-sglang-server --port 30000 --dp-size 2
> ```
> ```
>
> - 如果您有多张显卡,需要在卡0和卡1上启动两个`fastapi`服务,并分别监听不同的端口,可以使用以下命令:
> - 如果您有多张显卡,需要在卡0和卡1上启动两个`fastapi`服务,并分别监听不同的端口,可以使用以下命令:
> ```bash
> ```bash
> # 在终端1中
> # 在终端1中
...
...
docs/zh/usage/index.md
View file @
a7602a56
...
@@ -15,15 +15,15 @@ MinerU内置了命令行工具,用户可以通过命令行快速使用MinerU
...
@@ -15,15 +15,15 @@ MinerU内置了命令行工具,用户可以通过命令行快速使用MinerU
# 默认使用pipeline后端解析
# 默认使用pipeline后端解析
mineru
-p
<input_path>
-o
<output_path>
mineru
-p
<input_path>
-o
<output_path>
```
```
-
`<input_path>`
:本地 PDF/图片 文件或目录
> [!TIP]
-
`<output_path>`
:输出目录
> - `<input_path>`:本地 PDF/图片 文件或目录
> - `<output_path>`:输出目录
> 更多关于输出文件的信息,请参考[输出文件说明](./output_file.md)。
> [!NOTE]
> [!NOTE]
> 命令行工具会在Linux和macOS系统自动尝试cuda/mps加速。Windows用户如需使用cuda加速,
> 命令行工具会在Linux和macOS系统自动尝试cuda/mps加速。Windows用户如需使用cuda加速,
> 请前往 [Pytorch官网](https://pytorch.org/get-started/locally/) 选择适合自己cuda版本的命令安装支持加速的`torch`和`torchvision`。
> 请前往 [Pytorch官网](https://pytorch.org/get-started/locally/) 选择适合自己cuda版本的命令安装支持加速的`torch`和`torchvision`。
> [!TIP]
> 更多关于输出文件的信息,请参考[输出文件说明](./output_file.md)。
```
bash
```
bash
# 或指定vlm后端解析
# 或指定vlm后端解析
...
...
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