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

[CUDA] CUDNN error(2000), CUDNN_STATUS_BAD_PARAM. #71179

Open
jwnhy opened this issue Feb 18, 2025 · 1 comment
Open

[CUDA] CUDNN error(2000), CUDNN_STATUS_BAD_PARAM. #71179

jwnhy opened this issue Feb 18, 2025 · 1 comment
Assignees

Comments

@jwnhy
Copy link

jwnhy commented Feb 18, 2025

bug描述 Describe the Bug

import paddle as pdl

model = pdl.nn.Conv2DTranspose(26, 1, kernel_size=[25, 25], padding=[25, 3])
tensor = pdl.rand([1, 26, 26, 26])

model(tensor)
### 其他补充信息 Additional Supplementary Information

W0218 16:06:02.025692 1692211 gpu_resources.cc:119] Please NOTE: device: 0, GPU Compute Capability: 9.0, Driver API Version: 12.8, Runtime API Version: 12.3
W0218 16:06:02.026126 1692211 gpu_resources.cc:164] device: 0, cuDNN Version: 9.7.
Traceback (most recent call last):
  File "/home/jwnhy/gpu_fuzz/poc/poc12.py", line 6, in <module>
    model(tensor)
  File "/opt/ext/jwnhy/miniconda3/envs/pdl300/lib/python3.12/site-packages/paddle/nn/layer/layers.py", line 1426, in __call__
    return self.forward(*inputs, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/ext/jwnhy/miniconda3/envs/pdl300/lib/python3.12/site-packages/paddle/nn/layer/conv.py", line 883, in forward
    out = F.conv2d_transpose(
          ^^^^^^^^^^^^^^^^^^^
  File "/opt/ext/jwnhy/miniconda3/envs/pdl300/lib/python3.12/site-packages/paddle/nn/functional/conv.py", line 1262, in conv2d_transpose
    pre_bias = op(
               ^^^
OSError: (External) CUDNN error(2000), CUDNN_STATUS_BAD_PARAM.
  [Hint: Please search for the error code(2000) on website (https://docs.nvidia.com/deeplearning/cudnn/api/index.html#cudnnStatus_t) to get Nvidia's official solution and advice about CUDNN Error.] (at ../paddle/phi/backends/gpu/cuda/cudnn_desc.h:145)
@LiYuRio
Copy link
Contributor

LiYuRio commented Feb 18, 2025

看上去是padding参数的值设置的不合法

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