Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

windows 3.0.0b1 gpu版本import失败 #66669

Open
myhloli opened this issue Jul 28, 2024 · 4 comments
Open

windows 3.0.0b1 gpu版本import失败 #66669

myhloli opened this issue Jul 28, 2024 · 4 comments
Assignees

Comments

@myhloli
Copy link

myhloli commented Jul 28, 2024

bug描述 Describe the Bug

import paddle

File "F:\anaconda3\envs\MinerU310\lib\site-packages\paddleocr\paddleocr.py", line 21, in
import paddle

File "F:\anaconda3\envs\MinerU310\lib\site-packages\paddle_init_.py", line 712, in
raise err
└ OSError(22, '找不到指定的程序。', None, 127)

OSError: [WinError 127] 找不到指定的程序。 Error loading "F:\anaconda3\envs\MinerU310\lib\site-packages\paddle..\nvidia\cudnn\bin\cudnn_adv_infer64_8.dll" or one of its dependencies.

安装方式是官网提供的命令
python -m pip install paddlepaddle-gpu==3.0.0b1 -i https://www.paddlepaddle.org.cn/packages/stable/cu118/

测试使用自己在NVIDIA官网下载的cudnn库替换掉这几个dll后,程序运行正常
image

其他补充信息 Additional Supplementary Information

cuda 11.8
我自己替换进去的cudnn 8.7.0

@lxd-cumt
Copy link
Contributor

windows import 还有其他问题吗

@myhloli
Copy link
Author

myhloli commented Jul 30, 2024

windows import 还有其他问题吗

这个问题在我两台电脑上表现不同,
电脑1:
win11/i7-6950x/4090,已安装cuda11.8+cudnn8.7.0
直接安装paddlepaddle-gpu==3.0.0b1,会import失败
电脑2:
win11/i7-12700/3060ti,已安装cuda11.8+cudnn8.9
直接安装paddlepaddle-gpu==3.0.0b1,没有import失败

@lxd-cumt
Copy link
Contributor

@xuxinyi389 是cuda版本的问题吗

@myhloli
Copy link
Author

myhloli commented Aug 4, 2024

#66947
还真是这个情况,我是项目里需要pytorch和paddlepaddle一起用cuda加速

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants