Fast, accurate OCR with correctness assessment.
docs: link other inference frameworks from the OCR tutorial
hezhihuic1f041c4eaf4
diff --git a/docs/minicpmvocr_tutorial.md b/docs/minicpmvocr_tutorial.mdindex a61ca1b..89a2c28 100644--- a/docs/minicpmvocr_tutorial.md+++ b/docs/minicpmvocr_tutorial.md@@ -39,7 +39,7 @@ python -m pip install "paddlepaddle-gpu==3.3.0" \### 2. 推理服务环境配置-推理服务任选其一,本文使用 vLLM;SGLang 和 llama.cpp 见 [SGLang 部署指南](./sglang_deploy.md)、[llama.cpp 部署指南](./llamacpp_deploy.md)(英文)。+推理服务任选其一,本文使用 vLLM。SGLang、llama.cpp、Ollama 和 FlagOS 见 [其他推理框架](#其他推理框架)。> **旧驱动**:驱动低于 580 时,先按 [FAQ](./faq_zh.md#cuda-driver-version-is-insufficient) 配置适用于所用 GPU 的 CUDA 兼容库。安装和启动 vLLM、运行 GPU 版 SDK 的终端都需要设置相应的环境变量。@@ -114,6 +114,18 @@ minicpmvocr parse \更多配置请参见 [SDK API 与配置说明](./minicpmvocr_api.md)。+---+## 其他推理框架++上面的安装和启动步骤使用 vLLM。换用其他推理框架时,SDK 的版面检测和结果拼接不变,按对应文档启动识别服务后再连接。++| 框架 | 文档 |+|---|---|+| SGLang | [部署指南(英文)](./sglang_deploy.md)。启动命令带 DSpark。 |+| llama.cpp | [GGUF 部署指南(英文)](./llamacpp_deploy.md)。不支持 DSpark。 |+| Ollama | 没有单独的部署文档。SDK 通过 `--backend ollama` 连接已有服务,见 [命令行参数](./minicpmvocr_api.md#命令行参数)。 |+| FlagOS | [多芯片部署指南](./flagos_deploy_zh.md)。 |+---## 常见问题diff --git a/docs/minicpmvocr_tutorial_en.md b/docs/minicpmvocr_tutorial_en.mdindex 9c46d3a..805e258 100644--- a/docs/minicpmvocr_tutorial_en.md+++ b/docs/minicpmvocr_tutorial_en.md@@ -38,7 +38,7 @@ python -m pip install "paddlepaddle-gpu==3.3.0" \### 2. Set up the inference environment-Choose one inference service. This tutorial uses vLLM; for SGLang and llama.cpp, see the [SGLang deployment guide](./sglang_deploy.md) and [llama.cpp deployment guide](./llamacpp_deploy.md).+Choose one inference service. This tutorial uses vLLM. For SGLang, llama.cpp, Ollama, and FlagOS, see [Other inference frameworks](#other-inference-frameworks).> **Older drivers**: For drivers below 580, first configure a CUDA compatibility library suitable for your GPU as described in the [FAQ](./faq_en.md#cuda-driver-version-is-insufficient). Set its environment variables in each terminal used to install or start vLLM, or run the GPU SDK.@@ -110,6 +110,18 @@ minicpmvocr parse \For more options, see [SDK API and Configuration](./minicpmvocr_api_en.md).+---+## Other inference frameworks++The installation and startup steps above use vLLM. With another inference framework, the SDK still handles layout detection and result assembly. Start the recognition service from its guide, then connect the SDK to it.++| Framework | Guide |+|---|---|+| SGLang | [Deployment guide](./sglang_deploy.md). The startup command enables DSpark. |+| llama.cpp | [GGUF deployment guide](./llamacpp_deploy.md). DSpark is not supported. |+| Ollama | There is no separate deployment guide. The SDK connects to a running service with `--backend ollama`; see [Command-line options](./minicpmvocr_api_en.md#command-line-options). |+| FlagOS | [Multi-chip deployment guide](./flagos_deploy_en.md). |+---## FAQ