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

OSError: [WinError 127]-cudnn_cnn64_9.dll 请求帮助 #68673

Open
ficknico opened this issue Oct 13, 2024 · 1 comment
Open

OSError: [WinError 127]-cudnn_cnn64_9.dll 请求帮助 #68673

ficknico opened this issue Oct 13, 2024 · 1 comment
Assignees
Labels
status/new-issue 新建 type/build 编译/安装问题

Comments

@ficknico
Copy link

问题描述 Issue Description

OSError: [WinError 127] 找不到指定的程序。 Error loading "C:\Users\Administrator\AppData\Local\Programs\Python\Python312\Lib\site-packages\paddle..\nvidia\cudnn\bin\cudnn_cnn64_9.dll" or one of its dependencies.
Cuda没问题,cunn没问题,paddle none gpu 可以。

版本&环境信息 Version & Environment Information

  1. Cuda :cuda_12.6.r12.6/compiler.34841621_0
  2. Python 3.12.7
  3. cunn :12.4
  4. nvcc: NVIDIA (R) Cuda compiler driver
    Copyright (c) 2005-2024 NVIDIA Corporation
    Built on Thu_Sep_12_02:55:00_Pacific_Daylight_Time_2024
    Cuda compilation tools, release 12.6, V12.6.77
    Build cuda_12.6.r12.6/compiler.34841621_0
  5. +-----------------------------------------------------------------------------------------+
    | NVIDIA-SMI 553.09 Driver Version: 553.09 CUDA Version: 12.4 |
    |-----------------------------------------+------------------------+----------------------+
    | GPU Name TCC/WDDM | Bus-Id Disp.A | Volatile Uncorr. ECC |
    | Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. |
    | | | MIG M. |
    |=========================================+========================+======================|
    | 0 Quadro P620 WDDM | 00000000:01:00.0 On | N/A |
    | 34% 31C P8 N/A / N/A | 319MiB / 2048MiB | 4% Default |
    | | | N/A |
    +-----------------------------------------+------------------------+----------------------+

+-----------------------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=========================================================================================|
| 0 N/A N/A 3644 C+G ...on\119.0.2151.58\msedgewebview2.exe N/A |
| 0 N/A N/A 4856 C+G ...siveControlPanel\SystemSettings.exe N/A |
| 0 N/A N/A 4884 C+G ...oogle\Chrome\Application\chrome.exe N/A |
| 0 N/A N/A 6360 C+G ...5n1h2txyewy\ShellExperienceHost.exe N/A |
| 0 N/A N/A 6860 C+G C:\Windows\explorer.exe N/A |
| 0 N/A N/A 7468 C+G ...nt.CBS_cw5n1h2txyewy\SearchHost.exe N/A |
| 0 N/A N/A 7568 C+G ...__8wekyb3d8bbwe\WindowsTerminal.exe N/A |
| 0 N/A N/A 7732 C+G ...2txyewy\StartMenuExperienceHost.exe N/A |
| 0 N/A N/A 9100 C+G ...CBS_cw5n1h2txyewy\TextInputHost.exe N/A |
| 0 N/A N/A 10544 C+G ...oogle\Chrome\Application\chrome.exe N/A |
+-----------------------------------------------------------------------------------------+

@ficknico ficknico added status/new-issue 新建 type/build 编译/安装问题 labels Oct 13, 2024
@xuxinyi389
Copy link
Contributor

报错原因是:cudnn_cnn64_9.dll 或其依赖 load 失败。cudnn_cnn64_9.dll 的目录在C:\Users\Administrator\AppData\Local\Programs\Python\Python312\Lib\site-packages\nvidia\cudnn\bin\ ,请检查下该目录下的库是否存在该 dll,如不存在可执行:pip install nvidia-cudnn-cu12==9.0.0.312。如果存在的话,请说明安装方式(官网推荐安装或是本地编译安装),并给出复现代码和步骤,paddle RD会尽快定位解决问题。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status/new-issue 新建 type/build 编译/安装问题
Projects
None yet
Development

No branches or pull requests

3 participants