Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ModelZoo
PaddleOCR-VL_paddle
Commits
ff743322
Commit
ff743322
authored
Nov 06, 2025
by
chenych
Browse files
Update README.
parent
4c24053d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
6 deletions
+13
-6
README.md
README.md
+12
-5
docker/Dockerfile
docker/Dockerfile
+1
-1
No files found.
README.md
View file @
ff743322
...
...
@@ -18,25 +18,31 @@ PaddleOCR-VL 将复杂的文档解析任务分解为两个阶段。第一阶段
### 硬件需求
DCU型号:K100AI,节点数量:1台,卡数:1张。
`-v 挂载路径`
、
`docker_name`
根据实际情况修改
`-v 挂载路径`
请
根据实际情况修改
。
### Docker(方法一)
```
bash
docker pull image.sourcefind.cn:5000/dcu/admin/base/
custom:
vllm0.9.2-ubuntu22.04-dtk25.04.2-py3.10
-paddleocr-vl
docker pull image.sourcefind.cn:5000/dcu/admin/base/vllm
:
0.9.2-ubuntu22.04-dtk25.04.2-py3.10
docker run
-it
--shm-size
200g
--network
=
host
--name
{
docker_name
}
--privileged
--device
=
/dev/kfd
--device
=
/dev/dri
--device
=
/dev/mkfd
--group-add
video
--cap-add
=
SYS_PTRACE
--security-opt
seccomp
=
unconfined
-u
root
-v
/path/your_code_data/:/path/your_code_data/
-v
/opt/hyhal/:/opt/hyhal/:ro image.sourcefind.cn:5000/dcu/admin/base/
custom:
vllm0.9.2-ubuntu22.04-dtk25.04.2-py3.10
-paddleocr-vl
bash
docker run
-it
--shm-size
200g
--network
=
host
--name
paddleocr-vl
--privileged
--device
=
/dev/kfd
--device
=
/dev/dri
--device
=
/dev/mkfd
--group-add
video
--cap-add
=
SYS_PTRACE
--security-opt
seccomp
=
unconfined
-u
root
-v
/path/your_code_data/:/path/your_code_data/
-v
/opt/hyhal/:/opt/hyhal/:ro image.sourcefind.cn:5000/dcu/admin/base/vllm
:
0.9.2-ubuntu22.04-dtk25.04.2-py3.10 bash
cd
/your_code_path/paddleocr-vl_paddle
python
-m
pip
install
paddlepaddle-dcu
==
3.2.1
-i
https://www.paddlepaddle.org.cn/packages/stable/dcu/
python
-m
pip
install
-U
"paddleocr[doc-parser]"
python
-m
pip
install
https://paddle-whl.bj.bcebos.com/nightly/cu126/safetensors/safetensors-0.6.2.dev0-cp38-abi3-linux_x86_64.whl
```
### Dockerfile(方法二)
```
bash
cd
docker
docker build
--no-cache
-t
paddleocr-vl:latest
.
docker build
--no-cache
-t
paddleocr-vl
-dcu
:latest
.
docker run
-it
--shm-size
200g
--network
=
host
--name
{
docker_name
}
--privileged
--device
=
/dev/kfd
--device
=
/dev/dri
--device
=
/dev/mkfd
--group-add
video
--cap-add
=
SYS_PTRACE
--security-opt
seccomp
=
unconfined
-u
root
-v
/path/your_code_data/:/path/your_code_data/
-v
/opt/hyhal/:/opt/hyhal/:ro image.sourcefind.cn:5000/dcu/admin/base/
custom:
vllm0.9.2-ubuntu22.04-dtk25.04.2-py3.10
-paddleocr-vl
bash
docker run
-it
--shm-size
200g
--network
=
host
--name
paddleocr-vl
--privileged
--device
=
/dev/kfd
--device
=
/dev/dri
--device
=
/dev/mkfd
--group-add
video
--cap-add
=
SYS_PTRACE
--security-opt
seccomp
=
unconfined
-u
root
-v
/path/your_code_data/:/path/your_code_data/
-v
/opt/hyhal/:/opt/hyhal/:ro image.sourcefind.cn:5000/dcu/admin/base/vllm
:
0.9.2-ubuntu22.04-dtk25.04.2-py3.10 bash
cd
/your_code_path/paddleocr-vl_paddle
python
-m
pip
install
paddlepaddle-dcu
==
3.2.1
-i
https://www.paddlepaddle.org.cn/packages/stable/dcu/
python
-m
pip
install
-U
"paddleocr[doc-parser]"
python
-m
pip
install
https://paddle-whl.bj.bcebos.com/nightly/cu126/safetensors/safetensors-0.6.2.dev0-cp38-abi3-linux_x86_64.whl
```
### Anaconda(方法三)
...
...
@@ -49,6 +55,7 @@ transformers: 4.57.1
```
`Tips:以上dtk驱动、pytorch等DCU相关工具版本需要严格一一对应`
, 其它非深度学习库参照requirements.txt安装:
```
bash
pip
install
-r
requirements.txt
python
-m
pip
install
paddlepaddle-dcu
==
3.2.1
-i
https://www.paddlepaddle.org.cn/packages/stable/dcu/
python
-m
pip
install
-U
"paddleocr[doc-parser]"
python
-m
pip
install
https://paddle-whl.bj.bcebos.com/nightly/cu126/safetensors/safetensors-0.6.2.dev0-cp38-abi3-linux_x86_64.whl
...
...
docker/Dockerfile
View file @
ff743322
FROM
image.sourcefind.cn:5000/dcu/admin/base/custom:vllm0.9.2-ubuntu22.04-dtk25.04.2-py3.10-paddleocr-vl
\ No newline at end of file
FROM
image.sourcefind.cn:5000/dcu/admin/base/vllm:0.9.2-ubuntu22.04-dtk25.04.2-py3.10
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment