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
Mineru2.5_vllm
Commits
e5ad6171
"vscode:/vscode.git/clone" did not exist on "869dbf1bf2e3c1ea05bd7b3515c8ba438bb9a4a2"
Commit
e5ad6171
authored
Nov 03, 2025
by
luopl
Browse files
Update README.md
parent
a8c1fbdc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
README.md
README.md
+8
-8
No files found.
README.md
View file @
e5ad6171
...
@@ -33,8 +33,8 @@ DCU型号:K100_AI,节点数量:1台,卡数:1张。
...
@@ -33,8 +33,8 @@ DCU型号:K100_AI,节点数量:1台,卡数:1张。
```
```
docker pull image.sourcefind.cn:5000/dcu/admin/base/pytorch:2.5.1-ubuntu22.04-dtk25.04.2-py3.10
docker pull image.sourcefind.cn:5000/dcu/admin/base/pytorch:2.5.1-ubuntu22.04-dtk25.04.2-py3.10
# <your IMAGE ID>为以上拉取的docker的镜像ID替换
# <your IMAGE ID>为以上拉取的docker的镜像ID替换
docker run -it --name mineru2.5 --shm-size=1024G --device=/dev/kfd --device=/dev/dri/ --privileged --cap-add=SYS_PTRACE --security-opt seccomp=unconfined --ulimit memlock=-1:-1 --ipc=host --network host --group-add video -v /opt/hyhal:/opt/hyhal:ro -v $PWD/MinerU_pytorch:/home/MinerU2.5_
pytorch
<your IMAGE ID> /bin/bash
docker run -it --name mineru2.5 --shm-size=1024G --device=/dev/kfd --device=/dev/dri/ --privileged --cap-add=SYS_PTRACE --security-opt seccomp=unconfined --ulimit memlock=-1:-1 --ipc=host --network host --group-add video -v /opt/hyhal:/opt/hyhal:ro -v $PWD/MinerU_pytorch:/home/MinerU2.5_
vllm
<your IMAGE ID> /bin/bash
cd /home/MinerU2.5_
pytorch
cd /home/MinerU2.5_
vllm
pip install -e .[core] -i https://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com
pip install -e .[core] -i https://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com
pip install numpy==1.25.0
pip install numpy==1.25.0
pip install -e .[all] --no-deps
pip install -e .[all] --no-deps
...
@@ -42,11 +42,11 @@ pip install -e .[all] --no-deps
...
@@ -42,11 +42,11 @@ pip install -e .[all] --no-deps
```
```
### Dockerfile(方法二)
### Dockerfile(方法二)
```
```
cd /home/MinerU
_pytorch
cd /home/MinerU
2.5_vllm
docker build --no-cache -t MinerU2.5:latest .
docker build --no-cache -t MinerU2.5:latest .
# <your IMAGE ID>为以上拉取的docker的镜像ID替换
# <your IMAGE ID>为以上拉取的docker的镜像ID替换
docker run -it --name mineru2.5 --shm-size=1024G --device=/dev/kfd --device=/dev/dri/ --privileged --cap-add=SYS_PTRACE --security-opt seccomp=unconfined --ulimit memlock=-1:-1 --ipc=host --network host --group-add video -v /opt/hyhal:/opt/hyhal:ro -v $PWD/MinerU_pytorch:/home/MinerU2.5_
pytorch
<your IMAGE ID> /bin/bash
docker run -it --name mineru2.5 --shm-size=1024G --device=/dev/kfd --device=/dev/dri/ --privileged --cap-add=SYS_PTRACE --security-opt seccomp=unconfined --ulimit memlock=-1:-1 --ipc=host --network host --group-add video -v /opt/hyhal:/opt/hyhal:ro -v $PWD/MinerU_pytorch:/home/MinerU2.5_
vllm
<your IMAGE ID> /bin/bash
cd /home/MinerU2.5_
pytorch
cd /home/MinerU2.5_
vllm
pip install -e .[core] -i https://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com
pip install -e .[core] -i https://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com
pip install numpy==1.25.0
pip install numpy==1.25.0
pip install -e .[all] --no-deps
pip install -e .[all] --no-deps
...
@@ -69,7 +69,7 @@ lmslim:0.3.1
...
@@ -69,7 +69,7 @@ lmslim:0.3.1
2、其它非特殊库安装,如果特殊深度学习库被替换,请重新安装上述适配版本
2、其它非特殊库安装,如果特殊深度学习库被替换,请重新安装上述适配版本
```
```
cd /home/MinerU2.5_
pytorch
cd /home/MinerU2.5_
vllm
pip install -e .[core] -i https://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com
pip install -e .[core] -i https://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com
pip install numpy==1.25.0
pip install numpy==1.25.0
pip install -e .[all] --no-deps
pip install -e .[all] --no-deps
...
@@ -94,7 +94,7 @@ mineru-models-download --help
...
@@ -94,7 +94,7 @@ mineru-models-download --help
```
```
### 单机单卡
### 单机单卡
```
```
cd /home/MinerU2.5_
pytorch
cd /home/MinerU2.5_
vllm
# Default parsing using pipeline backend
# Default parsing using pipeline backend
#<input_path>:本地 PDF/图像文件或目录
#<input_path>:本地 PDF/图像文件或目录
...
@@ -160,7 +160,7 @@ transformers/vllm后端模型地址:[OpenDataLab/MinerU2.5-2509-1.2B](https://
...
@@ -160,7 +160,7 @@ transformers/vllm后端模型地址:[OpenDataLab/MinerU2.5-2509-1.2B](https://
注意:
`自动下载模型建议加镜像源下载:export HF_ENDPOINT=https://hf-mirror.com`
注意:
`自动下载模型建议加镜像源下载:export HF_ENDPOINT=https://hf-mirror.com`
## 源码仓库及问题反馈
## 源码仓库及问题反馈
-
https://developer.sourcefind.cn/codes/modelzoo/mineru2.5_
pytorch
-
https://developer.sourcefind.cn/codes/modelzoo/mineru2.5_
vllm
## 参考资料
## 参考资料
-
https://github.com/opendatalab/MinerU
-
https://github.com/opendatalab/MinerU
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