Replies: 1 comment
-
If you plan to use cpus sed -i 's|cuda|cpu|g' /root/magic-pdf.json If you plan to use GPUS Make sure you have Nvidia-container toolkit installed on your system for gpu passthrough https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
docker run -itd --name=mineru_server -p 8888:8000 quincyqiang/mineru:0.1-models(我把gpu的参数去掉了)
然后请求体是:
curl -X 'POST'
'http://localhost:8888/pdf_parse?parse_method=auto&is_json_md_dump=true'
-H 'accept: application/json'
-H 'Content-Type: multipart/form-data'
-F 'pdf_file=@"/mnt/d/dhr/tests/datas/_lwq.pdf";type=application/pdf'
-v
依然会显示:
{"error":"Found no NVIDIA driver on your system. Please check that you have an NVIDIA GPU and installed a driver from http://www.nvidia.com/Download/index.aspx"}
Beta Was this translation helpful? Give feedback.
All reactions