2.7.6版本按照如下配置启动,还是无法切换到cpu #4608
-
|
export MINERU_DEVICE_MODE=cpu 2026-03-11 01:47:45.392 | WARNING | mineru.utils.pdf_page_id:get_end_page_id:8 - end_page_id is out of range, use images length |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
Hi @walker202004-netizen! I'm Dosu and I’m helping the MinerU team. 设置 MINERU_DEVICE_MODE=cpu mineru-api --host 0.0.0.0 --port 8000 --backend pipeline
如果需要使用 VLM 能力但没有本地 GPU,也可以考虑轻量级部署方式,通过 To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
这是一个已知问题,
--backend参数在命令行和 API 内部配置中重复传递导致冲突。解决方法是不要在启动命令中指定
--backend,而是在 API 请求时传递:启动服务:
调用 API 时指定 backend:
这样将基础设施配置(host/port)和请求参数(backend)分开就可以避免冲突了。
To reply, just mention @dosu.
How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other