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

在新建的虚拟环境中安装paddle-gpu3.0.0后import paddle报错 #2459

Open
wujf147 opened this issue Nov 12, 2024 · 4 comments
Open
Assignees

Comments

@wujf147
Copy link

wujf147 commented Nov 12, 2024

在新建的虚拟环境中根据python -m pip install -i https://www.paddlepaddle.org.cn/packages/stable/cu118/ 安装paddlepaddle-gpu3.0.0后import paddle,虚拟环境所在服务器的cuda是11.2,安装包截图如下:
image
import paddle报错:
image
尝试按照网上方法将使用链接库libcudart.so.11.0的路径加入环境变量后仍未解决
image
请各位老师帮忙看看是什么原因?

@zhang-prog
Copy link
Collaborator

很有可能是docker启动时未加 --gpus all 参数,可以加上试试

@zhang-prog
Copy link
Collaborator

如果不是使用docker启动,请确保当前环境的 cuda 是可用的

@wujf147
Copy link
Author

wujf147 commented Nov 12, 2024

@zhang-prog 会不会是cuda是11.2,安装的paddle-gpu是11.8的,导致不适配

@zhang-prog
Copy link
Collaborator

也有可能,不过还是建议排查下cuda是否可用,感觉这个可能性会更大些

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

No branches or pull requests

2 participants