Paddle AIStudio上安装paddlepaddle-gpu报错

9bfwbjaz  于 2022-04-21  发布在  Java
关注(0)|答案(4)|浏览(470)

在使用paddleOCR的时候遇到下面问题:

环境:cuDNN Version: 7.6 cuda: 10.1
安装指令:
python -m pip install paddlepaddle-gpu==2.1.1.post101 -f https://paddlepaddle.org.cn/whl/mkl/stable.html

AIStudio上安装paddlepaddle-gpu报错。运行paddle.utils.run_check()提示:

W0726 09:49:03.588065 739 device_context.cc:404] Please NOTE: device: 0, GPU Compute Capability: 6.0, Driver API Version: 10.1, Runtime API Version: 10.1
W0726 09:49:03.685165 739 device_context.cc:422] device: 0, cuDNN Version: 7.6.
Running verify PaddlePaddle program ...

Traceback (most recent call last):
File "test.py", line 4, in
paddle.utils.run_check()
File "/root/miniconda3/lib/python3.6/site-packages/paddle/utils/install_check.py", line 196, in run_check
_run_static_single(use_cuda)
File "/root/miniconda3/lib/python3.6/site-packages/paddle/utils/install_check.py", line 124, in _run_static_single
exe.run(startup_prog)
File "/root/miniconda3/lib/python3.6/site-packages/paddle/fluid/executor.py", line 1110, in run
six.reraise(*sys.exc_info())
File "/root/miniconda3/lib/python3.6/site-packages/six.py", line 703, in reraise
raise value
File "/root/miniconda3/lib/python3.6/site-packages/paddle/fluid/executor.py", line 1108, in run
return_merged=return_merged)
File "/root/miniconda3/lib/python3.6/site-packages/paddle/fluid/executor.py", line 1239, in _run_impl
use_program_cache=use_program_cache)
File "/root/miniconda3/lib/python3.6/site-packages/paddle/fluid/executor.py", line 1329, in _run_program
[fetch_var_name])
OSError: (External) Cudnn error, CUDNN_STATUS_NOT_INITIALIZED (at /paddle/paddle/fluid/platform/device_context.h:371)

main process return code: 1
not found core file

bwleehnv

bwleehnv1#

您好,我们已经收到了您的问题,会安排技术人员尽快解答您的问题,请耐心等待。请您再次检查是否提供了清晰的问题描述、复现代码、环境&版本、报错信息等。同时,您也可以通过查看官网API文档常见问题历史IssueAI社区来寻求解答。祝您生活愉快~

Hi! We've received your issue and please be patient to get responded. We will arrange technicians to answer your questions as soon as possible. Please make sure that you have posted enough message to demo your request. You may also check out the APIFAQGithub Issue and AI community to get the answer.Have a nice day!

gcxthw6b

gcxthw6b2#

torch版本: 1.9.0+cu102
cuda版本: 10.2
cudnn版本: 7605

webghufk

webghufk3#

@ceci3 可以帮忙看一下吗?整好久了都没解决

tgabmvqs

tgabmvqs4#

@frankwhzhang 麻烦大佬给看看~

相关问题