如果您使用 Jittor 时遇到了安装问题、运行错误、输出错误等问题,您可以在 “问答” 区提问。
为了更好地定位您的问题,建议包含以下内容:
- 错误信息:加载torch下的cudnn_adv_infer64_8.dll失败
- 异常log:[i 0515 13:08:52.549000 80 compiler.py:955] Jittor(1.3.7.16) src: c:\users\User1\miniconda3\envs\jittor2\lib\site-packages\jittor
[i 0515 13:08:52.589000 80 compiler.py:956] cl at C:\Users\User1.cache\jittor\msvc\VC_____\bin\cl.exe(19.29.30133)
[i 0515 13:08:52.589000 80 compiler.py:957] cache_path: C:\Users\User1.cache\jittor\jt1.3.7\cl\py3.8.16\Windows-10-10.xd0\IntelRCoreTMi7xa6\default
[i 0515 13:08:52.589000 80 install_cuda.py:93] cuda_driver_version: [12, 1, 0]
[i 0515 13:08:52.640000 80 __init__.py:411] Found C:\Users\User1.cache\jittor\jtcuda\cuda11.2_cudnn8_win\bin\nvcc.exe(11.2.67) at C:\Users\User1.cache\jittor\jtcuda\cuda11.2_cudnn8_win\bin\nvcc.exe.
[i 0515 13:08:52.905000 80 __init__.py:411] Found gdb(10.2) at C:\TDM-GCC-64\bin\gdb.EXE.
[i 0515 13:08:52.971000 80 __init__.py:411] Found addr2line(2.36.1) at C:\TDM-GCC-64\bin\addr2line.EXE.
[i 0515 13:08:53.018000 80 compiler.py:1010] cuda key:cu11.2.67
[i 0515 13:08:53.026000 80 __init__.py:227] Total mem: 31.85GB, using 10 procs for compiling.
Compiling jittor_core(151/151) used: 2.050s eta: 0.000s
[i 0515 13:09:08.900000 80 jit_compiler.cc:28] Load cc_path: C:\Users\User1.cache\jittor\msvc\VC_____\bin\cl.exe
[i 0515 13:09:08.900000 80 init.cc:62] Found cuda archs: [75,]
Traceback (most recent call last):
File “cli_demo.py”, line 8, in
model = models.get_model(args)
File “D:*\JittorLLMs\models_init_.py", line 45, in get_model
module = importlib.import_module(f"models.{model_name}")
File “C:\Users\User1\miniconda3\envs\jittor2\lib\importlib_init_.py”, line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File “”, line 1014, in _gcd_import
File “”, line 991, in _find_and_load
File “”, line 975, in _find_and_load_unlocked
File “”, line 671, in _load_unlocked
File “”, line 843, in exec_module
File “”, line 219, in _call_with_frames_removed
File "D:*\JittorLLMs\models\chatglm_init_.py”, line 5, in
import torch
File “C:\Users\User1\miniconda3\envs\jittor2\lib\site-packages\torch_init_.py”, line 128, in
raise err
OSError: [WinError 127] The specified procedure could not be found. Error loading “C:\Users\User1\miniconda3\envs\jittor2\lib\site-packages\torch\lib\cudnn_adv_infer64_8.dll” or one of its dependencies.- 复现此问题的代码或者描述、
- 您认为正确结果应当如何:应当运行正常
- 环境信息:Windows11,miniconda3,python3.8.16,pytorch版本为py3.8_cuda11.6_cudnn8_0,cuda安装的是11.6.2