Bladeren bron

docs(ascend): update Ascend NPU acceleration documentation

- Add information about OS and CANN version compatibility
- Include details on high-performance mode and its requirements
- Update paddlepaddle-gpu installation instructions for CUDA acceleration
- Remove unnecessary empty line from changelog
myhloli 8 maanden geleden
bovenliggende
commit
aea10cfe3f

+ 0 - 1
README.md

@@ -47,7 +47,6 @@ Easier to use: Just grab MinerU Desktop. No coding, no login, just a simple inte
 </div>
 
 # Changelog
-
 - 2025/02/24 1.2.0 released. This version includes several fixes and improvements to enhance parsing efficiency and accuracy:
   - Performance Optimization
     - Increased classification speed for PDF documents in auto mode.

+ 19 - 3
docs/README_Ascend_NPU_Acceleration_zh_CN.md

@@ -2,11 +2,13 @@
 
 ## 简介
 
-本文档介绍如何在 Ascend NPU 上使用 MinerU。本文档内容已在`华为Atlas 800T A2`服务器上测试通过。
+本文档介绍如何在 Ascend NPU 上使用 MinerU。本文档内容已在`华为 Atlas 800T A2`服务器上测试通过。
 ```
 CPU:鲲鹏 920 aarch64 2.6GHz
 NPU:Ascend 910B 64GB
-OS:openEuler 22.03 (LTS-SP3)
+OS:openEuler 22.03 (LTS-SP3)/ Ubuntu 22.04.5 LTS
+CANN:8.0.RC2
+驱动版本:24.1.rc2.1
 ```
 由于适配 Ascend NPU 的环境较为复杂,建议使用 Docker 容器运行 MinerU。
 
@@ -54,4 +56,18 @@ magic-pdf --help
 - paddleocr使用内嵌onnx模型,仅在默认语言配置下能以较快速度对中英文进行识别
 - 自定义lang参数时,paddleocr速度会存在明显下降情况
 - layout模型使用layoutlmv3时会发生间歇性崩溃,建议使用默认配置的doclayout_yolo模型
-- 表格解析仅适配了rapid_table模型,其他模型可能会无法使用
+- 表格解析仅适配了rapid_table模型,其他模型可能会无法使用
+
+
+## 高性能模式
+
+- 在特定硬件环境可以通过插件开启高性能模式,整体速度相比默认模式提升300%以上
+
+| 系统要求           | 版本/型号        |
+|----------------|--------------|
+| 芯片类型           | 昇腾910B       |
+| CANN版本         | CANN 8.0.RC2 |
+| 驱动版本           | 24.1.rc2.1   |
+| magic-pdf 软件版本 | \> = 1.2.0   |
+
+- 高性能插件需满足一定的硬件条件和资质要求,如需申请使用请填写以下表单[MinerU高性能版本合作申请表](https://aicarrier.feishu.cn/share/base/form/shrcnb10VaoNQB8kQPA8DEfZC6d)

+ 1 - 1
docs/README_Ubuntu_CUDA_Acceleration_en_US.md

@@ -117,7 +117,7 @@ If your graphics card has at least **8GB** of VRAM, follow these steps to test C
 
 1. Download `paddlepaddle-gpu`. Installation will automatically enable OCR acceleration.
    ```sh
-   python -m pip install paddlepaddle-gpu==3.0.0b1 -i https://www.paddlepaddle.org.cn/packages/stable/cu118/
+   python -m pip install paddlepaddle-gpu==3.0.0rc1 -i https://www.paddlepaddle.org.cn/packages/stable/cu118/
    ```
 2. Test OCR acceleration with the following command:
    ```sh

+ 1 - 1
docs/README_Ubuntu_CUDA_Acceleration_zh_CN.md

@@ -122,7 +122,7 @@ magic-pdf -p small_ocr.pdf -o ./output
 **1.下载paddlepaddle-gpu, 安装完成后会自动开启ocr加速**
 
 ```bash
-python -m pip install paddlepaddle-gpu==3.0.0b1 -i https://www.paddlepaddle.org.cn/packages/stable/cu118/
+python -m pip install paddlepaddle-gpu==3.0.0rc1 -i https://www.paddlepaddle.org.cn/packages/stable/cu118/
 ```
 
 **2.运行以下命令测试ocr加速效果**