Commit 4bf3d6fd authored by zhougaofeng's avatar zhougaofeng
Browse files

Update README.md

parent 751928a0
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
## 安装 ## 安装
### 以下演示在223节点安装pdf解析模块 ### 以下演示在223节点安装pdf解析模块(可以直接使用镜像:1177ea7959ce)
### 1、docker run -it --shm-size=1024G -v /parastor/home/zhougf/Qwen1.5-pytorch:/home/practice -v /opt/hyhal:/opt/hyhal --privileged=true --device=/dev/kfd --device=/dev/dri/ --network=host --group-add video --name pdf_tmp a4dd5be0ca23 bash ### 1、docker run -it --shm-size=1024G -v /parastor/home/zhougf/Qwen1.5-pytorch:/home/practice -v /opt/hyhal:/opt/hyhal --privileged=true --device=/dev/kfd --device=/dev/dri/ --network=host --group-add video --name pdf_tmp a4dd5be0ca23 bash
<div align=center> <div align=center>
...@@ -40,9 +40,9 @@ cd MinerU ...@@ -40,9 +40,9 @@ cd MinerU
### 4、启动qwen-ocr模块: ### 4、启动qwen-ocr模块:
安装qwen_vl_utils库,更新transformers库为4。45版本,卸载flash_attn 安装qwen_vl_utils库,更新transformers库为4。45版本,卸载flash_attn
pip install qwen_vl_utils -i https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple (1)、pip install qwen_vl_utils -i https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple
pip install transformers==4.45 -i https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple (2)、pip install transformers==4.45 -i https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple
pip uninstall flash_attn (3)、pip uninstall flash_attn
默认使用6020端口,0号DCU卡 ,可以通过--dcu_id 指定卡,--server_port指定端口号 默认使用6020端口,0号DCU卡 ,可以通过--dcu_id 指定卡,--server_port指定端口号
<div align=center> <div align=center>
<img src="doc/image (4).png"/> <img src="doc/image (4).png"/>
......
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