能出一个纯CPU使用的部署教程吗?或者 Docker 部署方法? #4011
Replies: 2 comments 1 reply
-
|
Hi @yamazakitouma! I'm Dosu and I’m helping the MinerU team. 目前 MinerU 官方 Docker 部署方案确实只支持基于 vllm 的 GPU(CUDA)环境,无法直接用于纯 CPU 环境或 Mac 苹果芯片(ARM)等无 CUDA 的平台。不过,MinerU 支持 CPU-only 部署,只需要自定义 Dockerfile 即可实现一键部署,适配 x86 和 ARM 架构。 CPU-only Docker 部署方法(适用于 x86/ARM,Mac/PC):
总结: To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
-
|
根据官方readme:
其中,增加参数 --extra-index-url https://download.pytorch.org/whl/cpu 就可以指定使用cpu版本, 不过需要搭梯子,不然很慢 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
目前官方提供的Docker部署方法,只有基于vllm下的部署教程。但是并非所有人都有CUDA,我想要基于CPU环境去跑MinerU,能否出一个纯CPU环境跑 MinerU的 Docker 部署教程?
可以方便的在 mac 苹果芯片、普通 X86 芯片,使用 Docker 一键部署的教程。
Beta Was this translation helpful? Give feedback.
All reactions