Commit a7602a56 authored by myhloli's avatar myhloli
Browse files

docs: enhance usage tips in advanced_cli_parameters.md and improve output path details in index.md

parent d238f52d
......@@ -46,10 +46,12 @@
> [!TIP]
> 以下是一些可能的使用场景:
>
> - 如果您有多张显卡,需要指定卡0和卡1,并使用多卡并行来启动'sglang-server',可以使用以下命令:
> ```bash
> CUDA_VISIBLE_DEVICES=0,1 mineru-sglang-server --port 30000 --dp-size 2
> ```
>
> - 如果您有多张显卡,需要在卡0和卡1上启动两个`fastapi`服务,并分别监听不同的端口,可以使用以下命令:
> ```bash
> # 在终端1中
......
......@@ -15,15 +15,15 @@ MinerU内置了命令行工具,用户可以通过命令行快速使用MinerU
# 默认使用pipeline后端解析
mineru -p <input_path> -o <output_path>
```
- `<input_path>`:本地 PDF/图片 文件或目录
- `<output_path>`:输出目录
> [!TIP]
> - `<input_path>`:本地 PDF/图片 文件或目录
> - `<output_path>`:输出目录
> 更多关于输出文件的信息,请参考[输出文件说明](./output_file.md)。
> [!NOTE]
> 命令行工具会在Linux和macOS系统自动尝试cuda/mps加速。Windows用户如需使用cuda加速,
> 请前往 [Pytorch官网](https://pytorch.org/get-started/locally/) 选择适合自己cuda版本的命令安装支持加速的`torch`和`torchvision`。
> [!TIP]
> 更多关于输出文件的信息,请参考[输出文件说明](./output_file.md)。
```bash
# 或指定vlm后端解析
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment