-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Description
问题描述 Issue Description
在飞桨AIStudio中使用V100 16G的环境启动项目,导入PaddleDetection 2.8.1,运行车牌检测任务时报错,报错信息为:
ExternalError: CUDNN error(9), CUDNN_STATUS_NOT_SUPPORTED.
[Hint: 'CUDNN_STATUS_NOT_SUPPORTED'. The functionality requested is not presently supported by cuDNN. ] (at /paddle/paddle/phi/kernels/fusion/gpu/fused_conv2d_add_act_kernel.cu:610)
[operator < fused_conv2d_add_act > error]
此时,PaddlePaddle版本为2.6.2,运行 python -c "import paddle; paddle.utils.run_check()" 结果为:
Running verify PaddlePaddle program ...
I0929 10:32:04.189282 5202 program_interpreter.cc:212] New Executor is Running.
W0929 10:32:04.189925 5202 gpu_resources.cc:119] Please NOTE: device: 0, GPU Compute Capability: 7.0, Driver API Version: 12.0, Runtime API Version: 11.8
W0929 10:32:04.190806 5202 gpu_resources.cc:164] device: 0, cuDNN Version: 8.9.
I0929 10:32:08.956943 5202 interpreter_util.cc:624] Standalone Executor is Used.
PaddlePaddle works well on 1 GPU.
PaddlePaddle is installed successfully! Let's start deep learning with PaddlePaddle now.
后面怀疑可能是PaddlePaddle版本问题,于是按照官方文档,安装CUDA12.0 的 PaddlePaddle,使用的命令是:
python3 -m pip install paddlepaddle-gpu==2.6.1.post120 -f https://www.paddlepaddle.org.cn/whl/linux/cudnnin/stable.html
但是之后运行 python -c "import paddle; paddle.utils.run_check()" 报错,报错信息为:
Error: Can not import paddle core while this file exists: /opt/conda/envs/python35-paddle120-env/lib/python3.10/site-packages/paddle/base/libpaddle.so
Traceback (most recent call last):
File "", line 1, in
File "/opt/conda/envs/python35-paddle120-env/lib/python3.10/site-packages/paddle/init.py", line 28, in
from .base import core # noqa: F401
File "/opt/conda/envs/python35-paddle120-env/lib/python3.10/site-packages/paddle/base/init.py", line 36, in
from . import core
File "/opt/conda/envs/python35-paddle120-env/lib/python3.10/site-packages/paddle/base/core.py", line 380, in
raise e
File "/opt/conda/envs/python35-paddle120-env/lib/python3.10/site-packages/paddle/base/core.py", line 268, in
from . import libpaddle
ImportError: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by /opt/conda/envs/python35-paddle120-env/lib/python3.10/site-packages/paddle/base/libpaddle.so)
版本&环境信息 Version & Environment Information
PaddlePaddle版本: 2.6.2/2.6.1。
GPU:Tesla V100-SXM2-32GB,CUDA 12.0、CUDNN 8.9.6。
Python版本 3.10.10