Skip to content

Transforms complex documents like PDFs and Office docs into LLM-ready markdown/JSON for your Agentic workflows.

docs: update usage instructions for MinerU to include GPU and CPU command options

myhlolif4b821e509c9
diff --git a/docs/en/quick_start/index.md b/docs/en/quick_start/index.md
index c546bd86..05c245dc 100644
--- a/docs/en/quick_start/index.md
+++ b/docs/en/quick_start/index.md
@@ -129,9 +129,13 @@ You can get the [Docker Deployment Instructions](./docker_deployment.md) in the
### Using MinerU
-The simplest command line invocation is:
+If your device meets the GPU acceleration requirements in the table above, you can use a simple command line for document parsing:
```bash
mineru -p <input_path> -o <output_path>
```
+If your device does not meet the GPU acceleration requirements, you can specify the backend as `pipeline` to run in a pure CPU environment:
+```bash
+mineru -p <input_path> -o <output_path> -b pipeline
+```
You can use MinerU for PDF parsing through various methods such as command line, API, and WebUI. For detailed instructions, please refer to the [Usage Guide](../usage/index.md).
\ No newline at end of file
diff --git a/docs/zh/quick_start/index.md b/docs/zh/quick_start/index.md
index bcb8f3e7..4e5e262c 100644
--- a/docs/zh/quick_start/index.md
+++ b/docs/zh/quick_start/index.md
@@ -134,9 +134,19 @@ MinerU提供了便捷的docker部署方式,这有助于快速搭建环境并
### 使用 MinerU
-最简单的命令行调用方式:
+>[!TIP]
+>默认使用托管在`huggingface`的模型进行解析,首次使用时会自动下载所需模型文件,后续使用将直接加载本地缓存的模型。如果您无法访问`huggingface`,可以通过以下命令切换至国内镜像源:
+>```bash
+>export MINERU_MODEL_SOURCE=modelscope
+>```
+
+如果您的设备满足上表中GPU加速的条件,可以使用简单的命令行进行文档解析:
```bash
mineru -p <input_path> -o <output_path>
```
+如果您的设备不满足GPU加速条件,可以指定后端为`pipeline`,以在纯CPU环境下运行:
+```bash
+mineru -p <input_path> -o <output_path> -b pipeline
+```
您可以通过命令行、API、WebUI等多种方式使用MinerU进行PDF解析,具体使用方法请参考[使用指南](../usage/index.md)。
\ No newline at end of file