在windows10系统中,使用VScode编译器,运行SubdivNet深度学习模型,这个项目使用了jittor语言。
按照教程配置了环境,运行python -m jittor.test.test_cuda,以及python -m jittor.test.test_cudnn_op,均能显示测试结果(Ran x tests in x.xxx s),虽然提示LD_LIBRARY_PATH路径可能有问题,但issue说只要能运行就不用管。
我的系统里面本来有CUDA11.1的,CUDNN也是和CUDA对应的版本,运行其他神经网络没问题,然后在运行SubdivNet的时候,提示以下信息:
(CU111-Py38-Torch180) PS D:\ProjectsDr\SubdivNet-master> python train_cls.py train --name manifold40 --dataroot ./data/Manifold40/ --optim adam --lr 1e-3 --lr_milestones 20 40 --batch_size 48 --n_classes 40 --depth 3 --channels 32 64 128 256 --n_dropout 2 --use_xyz --use_normal --augment_scale
[i 0603 20:08:36.270000 40 compiler.py:955] Jittor(1.3.7.16) src: c:\softwares\anaconda\envs\cu111-py38-torch180\lib\site-packages\jittor
[i 0603 20:08:36.294000 40 compiler.py:956] cl at C:\Users\Autumoon\.cache\jittor\msvc\VC\_\_\_\_\_\bin\cl.exe(19.29.30133)
[i 0603 20:08:36.294000 40 compiler.py:957] cache_path: C:\Users\Autumoon\.cache\jittor\jt1.3.7\cl\py3.8.12\Windows-10-10.x76\11thGenIntelRCxaa\default
[i 0603 20:08:36.298000 40 install_cuda.py:93] cuda_driver_version: [11, 6, 0]
[i 0603 20:08:36.320000 40 __init__.py:411] Found C:\Users\Autumoon\.cache\jittor\jtcuda\cuda11.2_cudnn8_win\bin\nvcc.exe(11.2.67) at C:\Users\Autumoon\.cache\jittor\jtcuda\cuda11.2_cudnn8_win\bin\nvcc.exe.
[i 0603 20:08:36.449000 40 compiler.py:1010] cuda key:cu11.2.67
[i 0603 20:08:36.451000 40 __init__.py:227] Total mem: 63.79GB, using 16 procs for compiling.
[i 0603 20:08:37.972000 40 jit_compiler.cc:28] Load cc_path: C:\Users\Autumoon\.cache\jittor\msvc\VC\_\_\_\_\_\bin\cl.exe
[i 0603 20:08:37.974000 40 init.cc:62] Found cuda archs: [86,]
[w 0603 20:08:38.128000 40 compile_extern.py:203] CUDA related path found in LD_LIBRARY_PATH or PATH(['', 'C', '\\Users\\Autumoon\\.cache\\jittor\\jtcuda\\cuda11.2_cudnn8_win\\lib64', '', 'C', '\\Users\\Autumoon\\.cache\\jittor\\mkl\\dnnl_win_2.2.0_cpu_vcomp\\bin', '', 'C', '\\Users\\Autumoon\\.cache\\jittor\\mkl\\dnnl_win_2.2.0_cpu_vcomp\\lib', '', 'C', '\\Users\\Autumoon\\.cache\\jittor\\jt1.3.7\\cl\\py3.8.12\\Windows-10-10.x76\\11thGenIntelRCxaa\\default', '', 'C', '\\Users\\Autumoon\\.cache\\jittor\\jt1.3.7\\cl\\py3.8.12\\Windows-10-10.x76\\11thGenIntelRCxaa\\default\\cu11.2.67', '', 'C', '\\Users\\Autumoon\\.cache\\jittor\\jtcuda\\cuda11.2_cudnn8_win\\bin', '', 'C', '\\Users\\Autumoon\\.cache\\jittor\\jtcuda\\cuda11.2_cudnn8_win\\lib\\x64', '', 'C', '\\Users\\Autumoon\\.cache\\jittor\\msvc\\win10_kits\\lib\\ucrt\\x64', '', 'C', '\\Users\\Autumoon\\.cache\\jittor\\msvc\\win10_kits\\lib\\um\\x64', '', 'C', '\\Users\\Autumoon\\.cache\\jittor\\msvc\\VC\\lib', '', 'c', '\\softwares\\anaconda\\envs\\cu111-py38-torch180\\libs', 'C', '\\Users\\Autumoon\\.cache\\jittor\\msvc\\VC\\_\\_\\_\\_\\_\\bin', 'C', '\\Softwares\\Anaconda\\envs\\CU111-Py38-Torch180', 'C', '\\Softwares\\Anaconda\\envs\\CU111-Py38-Torch180\\Library\\mingw-w64\\bin', 'C', '\\Softwares\\Anaconda\\envs\\CU111-Py38-Torch180\\Library\\usr\\bin', 'C', '\\Softwares\\Anaconda\\envs\\CU111-Py38-Torch180\\Library\\bin', 'C', '\\Softwares\\Anaconda\\envs\\CU111-Py38-Torch180\\Scripts', 'C', '\\Softwares\\Anaconda\\envs\\CU111-Py38-Torch180\\bin', 'C', '\\Softwares\\Anaconda\\condabin', 'C', '\\Program Files\\Zetane', 'C', '\\Program Files (x86)\\Microsoft Visual Studio\\2019\\BuildTools\\VC\\Tools\\MSVC\\14.29.30133\\bin\\Hostx86\\x64', 'C', '\\Program Files (x86)\\Microsoft Visual Studio\\2019\\BuildTools\\VC\\Tools\\MSVC\\14.29.30133\\include', 'C', '\\Users\\Autumoon\\.cache\\jittor\\jtcuda\\cuda11.2_cudnn8_win\\libnvvp', 'C', '\\Users\\Autumoon\\.cache\\jittor\\jtcuda\\cuda11.2_cudnn8_win\\include', 'C', '\\Users\\Autumoon\\.cache\\jittor\\jtcuda\\cuda11.2_cudnn8_win\\bin', 'D', '\\Softwares\\CudaManager\\CUDA11.1\\DevDoc\\bin', 'D', '\\Softwares\\CudaManager\\CUDA11.1\\DevDoc\\libnvvp', 'D', '\\Softwares\\CudaManager\\CUDA11.1\\DevDoc\\include', 'D', '\\Softwares\\CudaManager\\CUDA10.0\\DevDoc\\libnvvp', 'D', '\\Softwares\\CudaManager\\CUDA10.0\\DevDoc\\bin', 'D', '\\Softwares\\CudaManager\\CUDA10.2\\DevDoc\\bin', 'D', '\\Softwares\\CudaManager\\CUDA10.2\\DevDoc\\libnvvp', 'D', '\\Softwares\\CudaManager\\CUDA9.0\\DevDoc\\bin', 'D', '\\Softwares\\CudaManager\\CUDA9.0\\DevDoc\\libnvvp',
'D', '\\Softwares\\CudaManager\\CUDA9.0\\DevDoc\\include', 'C', '\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v11.0\\bin', 'C', '\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v11.0\\libnvvp', 'C', '\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v11.0\\include', '.', 'C', '\\Program Files (x86)\\Common
Files\\Oracle\\Java\\javapath', 'C', '\\Program Files (x86)\\Common Files\\Intel\\Shared Libraries\\redist\\intel64\\compiler', 'C', '\\Program Files\\Python36\\Scripts', 'C', '\\Program Files\\Python36', 'C', '\\Windows\\system32', 'C', '\\Windows', 'C', '\\Windows\\System32\\Wbem', 'C', '\\Windows\\System32\\WindowsPowerShell\\v1.0', 'C', '\\Windows\\System32\\OpenSSH', 'C', '\\Program Files (x86)\\NVIDIA Corporation\\PhysX\\Common', 'C', '\\Program Files\\NVIDIA Corporation\\NVIDIA NvDLISR', 'c', '\\Program Files (x86)\\Microsoft SQL Server\\100\\Tools\\Binn', 'c', '\\Program Files\\Microsoft SQL Server\\100\\Tools\\Binn', 'c', '\\Program Files\\Microsoft SQL Server\\100\\DTS\\Binn', 'C', '\\Program Files (x86)\\PDFtk\\bin', 'C', '\\Users\\Autumoon\\.dnx\\bin', 'C', '\\Program Files\\Microsoft DNX\\Dnvm', 'D', '\\Softwares\\MatLabR2019a\\runtime\\win64', 'D', '\\Softwares\\MatLabR2019a\\bin', 'D', '\\Softwares\\MatLabR2019a\\polyspace\\bin', 'C', '\\Program Files\\dotnet', 'C', '\\Program Files\\Microsoft SQL Server\\130\\Tools\\Binn', 'C', '\\Program Files (x86)\\IncrediBuild', 'C', '\\Softwares\\Anaconda', 'C',
'\\Softwares\\Anaconda\\Scripts', 'C', '\\Softwares\\Anaconda\\Library\\bin', 'D', '\\Projects\\ninja', 'C', '\\Program Files\\Git LFS', 'C', '\\Program Files\\Git\\cmd', 'C', '\\Program Files\\nodejs', 'C', '\\Softwares\\Anaconda\\envs\\CU111-Py38-Torch180', 'C', '\\Users\\Autumoon\\AppData\\Local\\Microsoft\\WindowsApps', 'C', '\\Program Files\\Bandizip', 'C', '\\Users\\Autumoon\\AppData\\Local\\Pandoc', 'C', '\\Users\\Autumoon\\AppData\\Roaming\\npm', 'C', '\\Softwares\\VSCode\\Microsoft VS Code\\bin']), This path may cause jittor found the wrong libs, please unset LD_LIBRARY_PATH and remove cuda lib path in Path.
Or you can let jittor install cuda for you: `python3.x -m jittor_utils.install_cuda`
[w 0603 20:08:38.130000 40 compile_extern.py:203] CUDA related path found in LD_LIBRARY_PATH or PATH(['', 'C', '\\Users\\Autumoon\\.cache\\jittor\\jtcuda\\cuda11.2_cudnn8_win\\lib64', '', 'C', '\\Users\\Autumoon\\.cache\\jittor\\mkl\\dnnl_win_2.2.0_cpu_vcomp\\bin', '', 'C', '\\Users\\Autumoon\\.cache\\jittor\\mkl\\dnnl_win_2.2.0_cpu_vcomp\\lib', '', 'C', '\\Users\\Autumoon\\.cache\\jittor\\jt1.3.7\\cl\\py3.8.12\\Windows-10-10.x76\\11thGenIntelRCxaa\\default', '', 'C', '\\Users\\Autumoon\\.cache\\jittor\\jt1.3.7\\cl\\py3.8.12\\Windows-10-10.x76\\11thGenIntelRCxaa\\default\\cu11.2.67', '', 'C', '\\Users\\Autumoon\\.cache\\jittor\\jtcuda\\cuda11.2_cudnn8_win\\bin', '', 'C', '\\Users\\Autumoon\\.cache\\jittor\\jtcuda\\cuda11.2_cudnn8_win\\lib\\x64', '', 'C', '\\Users\\Autumoon\\.cache\\jittor\\msvc\\win10_kits\\lib\\ucrt\\x64', '', 'C', '\\Users\\Autumoon\\.cache\\jittor\\msvc\\win10_kits\\lib\\um\\x64', '', 'C', '\\Users\\Autumoon\\.cache\\jittor\\msvc\\VC\\lib', '', 'c', '\\softwares\\anaconda\\envs\\cu111-py38-torch180\\libs', 'C', '\\Users\\Autumoon\\.cache\\jittor\\msvc\\VC\\_\\_\\_\\_\\_\\bin', 'C', '\\Softwares\\Anaconda\\envs\\CU111-Py38-Torch180', 'C', '\\Softwares\\Anaconda\\envs\\CU111-Py38-Torch180\\Library\\mingw-w64\\bin', 'C', '\\Softwares\\Anaconda\\envs\\CU111-Py38-Torch180\\Library\\usr\\bin', 'C', '\\Softwares\\Anaconda\\envs\\CU111-Py38-Torch180\\Library\\bin', 'C', '\\Softwares\\Anaconda\\envs\\CU111-Py38-Torch180\\Scripts', 'C', '\\Softwares\\Anaconda\\envs\\CU111-Py38-Torch180\\bin', 'C', '\\Softwares\\Anaconda\\condabin', 'C', '\\Program Files\\Zetane', 'C', '\\Program Files (x86)\\Microsoft Visual Studio\\2019\\BuildTools\\VC\\Tools\\MSVC\\14.29.30133\\bin\\Hostx86\\x64', 'C', '\\Program Files (x86)\\Microsoft Visual Studio\\2019\\BuildTools\\VC\\Tools\\MSVC\\14.29.30133\\include', 'C', '\\Users\\Autumoon\\.cache\\jittor\\jtcuda\\cuda11.2_cudnn8_win\\libnvvp', 'C', '\\Users\\Autumoon\\.cache\\jittor\\jtcuda\\cuda11.2_cudnn8_win\\include', 'C', '\\Users\\Autumoon\\.cache\\jittor\\jtcuda\\cuda11.2_cudnn8_win\\bin', 'D', '\\Softwares\\CudaManager\\CUDA11.1\\DevDoc\\bin', 'D', '\\Softwares\\CudaManager\\CUDA11.1\\DevDoc\\libnvvp', 'D', '\\Softwares\\CudaManager\\CUDA11.1\\DevDoc\\include', 'D', '\\Softwares\\CudaManager\\CUDA10.0\\DevDoc\\libnvvp', 'D', '\\Softwares\\CudaManager\\CUDA10.0\\DevDoc\\bin', 'D', '\\Softwares\\CudaManager\\CUDA10.2\\DevDoc\\bin', 'D', '\\Softwares\\CudaManager\\CUDA10.2\\DevDoc\\libnvvp', 'D', '\\Softwares\\CudaManager\\CUDA9.0\\DevDoc\\bin', 'D', '\\Softwares\\CudaManager\\CUDA9.0\\DevDoc\\libnvvp',
'D', '\\Softwares\\CudaManager\\CUDA9.0\\DevDoc\\include', 'C', '\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v11.0\\bin', 'C', '\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v11.0\\libnvvp', 'C', '\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v11.0\\include', '.', 'C', '\\Program Files (x86)\\Common
Files\\Oracle\\Java\\javapath', 'C', '\\Program Files (x86)\\Common Files\\Intel\\Shared Libraries\\redist\\intel64\\compiler', 'C', '\\Program Files\\Python36\\Scripts', 'C', '\\Program Files\\Python36', 'C', '\\Windows\\system32', 'C', '\\Windows', 'C', '\\Windows\\System32\\Wbem', 'C', '\\Windows\\System32\\WindowsPowerShell\\v1.0', 'C', '\\Windows\\System32\\OpenSSH', 'C', '\\Program Files (x86)\\NVIDIA Corporation\\PhysX\\Common', 'C', '\\Program Files\\NVIDIA Corporation\\NVIDIA NvDLISR', 'c', '\\Program Files (x86)\\Microsoft SQL Server\\100\\Tools\\Binn', 'c', '\\Program Files\\Microsoft SQL Server\\100\\Tools\\Binn', 'c', '\\Program Files\\Microsoft SQL Server\\100\\DTS\\Binn', 'C', '\\Program Files (x86)\\PDFtk\\bin', 'C', '\\Users\\Autumoon\\.dnx\\bin', 'C', '\\Program Files\\Microsoft DNX\\Dnvm', 'D', '\\Softwares\\MatLabR2019a\\runtime\\win64', 'D', '\\Softwares\\MatLabR2019a\\bin', 'D', '\\Softwares\\MatLabR2019a\\polyspace\\bin', 'C', '\\Program Files\\dotnet', 'C', '\\Program Files\\Microsoft SQL Server\\130\\Tools\\Binn', 'C', '\\Program Files (x86)\\IncrediBuild', 'C', '\\Softwares\\Anaconda', 'C',
'\\Softwares\\Anaconda\\Scripts', 'C', '\\Softwares\\Anaconda\\Library\\bin', 'D', '\\Projects\\ninja', 'C', '\\Program Files\\Git LFS', 'C', '\\Program Files\\Git\\cmd', 'C', '\\Program Files\\nodejs', 'C', '\\Softwares\\Anaconda\\envs\\CU111-Py38-Torch180', 'C', '\\Users\\Autumoon\\AppData\\Local\\Microsoft\\WindowsApps', 'C', '\\Program Files\\Bandizip', 'C', '\\Users\\Autumoon\\AppData\\Local\\Pandoc', 'C', '\\Users\\Autumoon\\AppData\\Roaming\\npm', 'C', '\\Softwares\\VSCode\\Microsoft VS Code\\bin']), This path may cause jittor found the wrong libs, please unset LD_LIBRARY_PATH and remove cuda lib path in Path.
Or you can let jittor install cuda for you: `python3.x -m jittor_utils.install_cuda`
[w 0603 20:08:38.132000 40 compile_extern.py:203] CUDA related path found in LD_LIBRARY_PATH or PATH(['', 'C', '\\Users\\Autumoon\\.cache\\jittor\\jtcuda\\cuda11.2_cudnn8_win\\lib64', '', 'C', '\\Users\\Autumoon\\.cache\\jittor\\mkl\\dnnl_win_2.2.0_cpu_vcomp\\bin', '', 'C', '\\Users\\Autumoon\\.cache\\jittor\\mkl\\dnnl_win_2.2.0_cpu_vcomp\\lib', '', 'C', '\\Users\\Autumoon\\.cache\\jittor\\jt1.3.7\\cl\\py3.8.12\\Windows-10-10.x76\\11thGenIntelRCxaa\\default', '', 'C', '\\Users\\Autumoon\\.cache\\jittor\\jt1.3.7\\cl\\py3.8.12\\Windows-10-10.x76\\11thGenIntelRCxaa\\default\\cu11.2.67', '', 'C', '\\Users\\Autumoon\\.cache\\jittor\\jtcuda\\cuda11.2_cudnn8_win\\bin', '', 'C', '\\Users\\Autumoon\\.cache\\jittor\\jtcuda\\cuda11.2_cudnn8_win\\lib\\x64', '', 'C', '\\Users\\Autumoon\\.cache\\jittor\\msvc\\win10_kits\\lib\\ucrt\\x64', '', 'C', '\\Users\\Autumoon\\.cache\\jittor\\msvc\\win10_kits\\lib\\um\\x64', '', 'C', '\\Users\\Autumoon\\.cache\\jittor\\msvc\\VC\\lib', '', 'c', '\\softwares\\anaconda\\envs\\cu111-py38-torch180\\libs', 'C', '\\Users\\Autumoon\\.cache\\jittor\\msvc\\VC\\_\\_\\_\\_\\_\\bin', 'C', '\\Softwares\\Anaconda\\envs\\CU111-Py38-Torch180', 'C', '\\Softwares\\Anaconda\\envs\\CU111-Py38-Torch180\\Library\\mingw-w64\\bin', 'C', '\\Softwares\\Anaconda\\envs\\CU111-Py38-Torch180\\Library\\usr\\bin', 'C', '\\Softwares\\Anaconda\\envs\\CU111-Py38-Torch180\\Library\\bin', 'C', '\\Softwares\\Anaconda\\envs\\CU111-Py38-Torch180\\Scripts', 'C', '\\Softwares\\Anaconda\\envs\\CU111-Py38-Torch180\\bin', 'C', '\\Softwares\\Anaconda\\condabin', 'C', '\\Program Files\\Zetane', 'C', '\\Program Files (x86)\\Microsoft Visual Studio\\2019\\BuildTools\\VC\\Tools\\MSVC\\14.29.30133\\bin\\Hostx86\\x64', 'C', '\\Program Files (x86)\\Microsoft Visual Studio\\2019\\BuildTools\\VC\\Tools\\MSVC\\14.29.30133\\include', 'C', '\\Users\\Autumoon\\.cache\\jittor\\jtcuda\\cuda11.2_cudnn8_win\\libnvvp', 'C', '\\Users\\Autumoon\\.cache\\jittor\\jtcuda\\cuda11.2_cudnn8_win\\include', 'C', '\\Users\\Autumoon\\.cache\\jittor\\jtcuda\\cuda11.2_cudnn8_win\\bin', 'D', '\\Softwares\\CudaManager\\CUDA11.1\\DevDoc\\bin', 'D', '\\Softwares\\CudaManager\\CUDA11.1\\DevDoc\\libnvvp', 'D', '\\Softwares\\CudaManager\\CUDA11.1\\DevDoc\\include', 'D', '\\Softwares\\CudaManager\\CUDA10.0\\DevDoc\\libnvvp', 'D', '\\Softwares\\CudaManager\\CUDA10.0\\DevDoc\\bin', 'D', '\\Softwares\\CudaManager\\CUDA10.2\\DevDoc\\bin', 'D', '\\Softwares\\CudaManager\\CUDA10.2\\DevDoc\\libnvvp', 'D', '\\Softwares\\CudaManager\\CUDA9.0\\DevDoc\\bin', 'D', '\\Softwares\\CudaManager\\CUDA9.0\\DevDoc\\libnvvp',
'D', '\\Softwares\\CudaManager\\CUDA9.0\\DevDoc\\include', 'C', '\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v11.0\\bin', 'C', '\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v11.0\\libnvvp', 'C', '\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v11.0\\include', '.', 'C', '\\Program Files (x86)\\Common
Files\\Oracle\\Java\\javapath', 'C', '\\Program Files (x86)\\Common Files\\Intel\\Shared Libraries\\redist\\intel64\\compiler', 'C', '\\Program Files\\Python36\\Scripts', 'C', '\\Program Files\\Python36', 'C', '\\Windows\\system32', 'C', '\\Windows', 'C', '\\Windows\\System32\\Wbem', 'C', '\\Windows\\System32\\WindowsPowerShell\\v1.0', 'C', '\\Windows\\System32\\OpenSSH', 'C', '\\Program Files (x86)\\NVIDIA Corporation\\PhysX\\Common', 'C', '\\Program Files\\NVIDIA Corporation\\NVIDIA NvDLISR', 'c', '\\Program Files (x86)\\Microsoft SQL Server\\100\\Tools\\Binn', 'c', '\\Program Files\\Microsoft SQL Server\\100\\Tools\\Binn', 'c', '\\Program Files\\Microsoft SQL Server\\100\\DTS\\Binn', 'C', '\\Program Files (x86)\\PDFtk\\bin', 'C', '\\Users\\Autumoon\\.dnx\\bin', 'C', '\\Program Files\\Microsoft DNX\\Dnvm', 'D', '\\Softwares\\MatLabR2019a\\runtime\\win64', 'D', '\\Softwares\\MatLabR2019a\\bin', 'D', '\\Softwares\\MatLabR2019a\\polyspace\\bin', 'C', '\\Program Files\\dotnet', 'C', '\\Program Files\\Microsoft SQL Server\\130\\Tools\\Binn', 'C', '\\Program Files (x86)\\IncrediBuild', 'C', '\\Softwares\\Anaconda', 'C',
'\\Softwares\\Anaconda\\Scripts', 'C', '\\Softwares\\Anaconda\\Library\\bin', 'D', '\\Projects\\ninja', 'C', '\\Program Files\\Git LFS', 'C', '\\Program Files\\Git\\cmd', 'C', '\\Program Files\\nodejs', 'C', '\\Softwares\\Anaconda\\envs\\CU111-Py38-Torch180', 'C', '\\Users\\Autumoon\\AppData\\Local\\Microsoft\\WindowsApps', 'C', '\\Program Files\\Bandizip', 'C', '\\Users\\Autumoon\\AppData\\Local\\Pandoc', 'C', '\\Users\\Autumoon\\AppData\\Roaming\\npm', 'C', '\\Softwares\\VSCode\\Microsoft VS Code\\bin']), This path may cause jittor found the wrong libs, please unset LD_LIBRARY_PATH and remove cuda lib path in Path.
Or you can let jittor install cuda for you: `python3.x -m jittor_utils.install_cuda`
[w 0603 20:08:38.135000 40 compile_extern.py:203] CUDA related path found in LD_LIBRARY_PATH or PATH(['', 'C', '\\Users\\Autumoon\\.cache\\jittor\\jtcuda\\cuda11.2_cudnn8_win\\lib64', '', 'C', '\\Users\\Autumoon\\.cache\\jittor\\mkl\\dnnl_win_2.2.0_cpu_vcomp\\bin', '', 'C', '\\Users\\Autumoon\\.cache\\jittor\\mkl\\dnnl_win_2.2.0_cpu_vcomp\\lib', '', 'C', '\\Users\\Autumoon\\.cache\\jittor\\jt1.3.7\\cl\\py3.8.12\\Windows-10-10.x76\\11thGenIntelRCxaa\\default', '', 'C', '\\Users\\Autumoon\\.cache\\jittor\\jt1.3.7\\cl\\py3.8.12\\Windows-10-10.x76\\11thGenIntelRCxaa\\default\\cu11.2.67', '', 'C', '\\Users\\Autumoon\\.cache\\jittor\\jtcuda\\cuda11.2_cudnn8_win\\bin', '', 'C', '\\Users\\Autumoon\\.cache\\jittor\\jtcuda\\cuda11.2_cudnn8_win\\lib\\x64', '', 'C', '\\Users\\Autumoon\\.cache\\jittor\\msvc\\win10_kits\\lib\\ucrt\\x64', '', 'C', '\\Users\\Autumoon\\.cache\\jittor\\msvc\\win10_kits\\lib\\um\\x64', '', 'C', '\\Users\\Autumoon\\.cache\\jittor\\msvc\\VC\\lib', '', 'c', '\\softwares\\anaconda\\envs\\cu111-py38-torch180\\libs', 'C', '\\Users\\Autumoon\\.cache\\jittor\\msvc\\VC\\_\\_\\_\\_\\_\\bin', 'C', '\\Softwares\\Anaconda\\envs\\CU111-Py38-Torch180', 'C', '\\Softwares\\Anaconda\\envs\\CU111-Py38-Torch180\\Library\\mingw-w64\\bin', 'C', '\\Softwares\\Anaconda\\envs\\CU111-Py38-Torch180\\Library\\usr\\bin', 'C', '\\Softwares\\Anaconda\\envs\\CU111-Py38-Torch180\\Library\\bin', 'C', '\\Softwares\\Anaconda\\envs\\CU111-Py38-Torch180\\Scripts', 'C', '\\Softwares\\Anaconda\\envs\\CU111-Py38-Torch180\\bin', 'C', '\\Softwares\\Anaconda\\condabin', 'C', '\\Program Files\\Zetane', 'C', '\\Program Files (x86)\\Microsoft Visual Studio\\2019\\BuildTools\\VC\\Tools\\MSVC\\14.29.30133\\bin\\Hostx86\\x64', 'C', '\\Program Files (x86)\\Microsoft Visual Studio\\2019\\BuildTools\\VC\\Tools\\MSVC\\14.29.30133\\include', 'C', '\\Users\\Autumoon\\.cache\\jittor\\jtcuda\\cuda11.2_cudnn8_win\\libnvvp', 'C', '\\Users\\Autumoon\\.cache\\jittor\\jtcuda\\cuda11.2_cudnn8_win\\include', 'C', '\\Users\\Autumoon\\.cache\\jittor\\jtcuda\\cuda11.2_cudnn8_win\\bin', 'D', '\\Softwares\\CudaManager\\CUDA11.1\\DevDoc\\bin', 'D', '\\Softwares\\CudaManager\\CUDA11.1\\DevDoc\\libnvvp', 'D', '\\Softwares\\CudaManager\\CUDA11.1\\DevDoc\\include', 'D', '\\Softwares\\CudaManager\\CUDA10.0\\DevDoc\\libnvvp', 'D', '\\Softwares\\CudaManager\\CUDA10.0\\DevDoc\\bin', 'D', '\\Softwares\\CudaManager\\CUDA10.2\\DevDoc\\bin', 'D', '\\Softwares\\CudaManager\\CUDA10.2\\DevDoc\\libnvvp', 'D', '\\Softwares\\CudaManager\\CUDA9.0\\DevDoc\\bin', 'D', '\\Softwares\\CudaManager\\CUDA9.0\\DevDoc\\libnvvp',
'D', '\\Softwares\\CudaManager\\CUDA9.0\\DevDoc\\include', 'C', '\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v11.0\\bin', 'C', '\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v11.0\\libnvvp', 'C', '\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v11.0\\include', '.', 'C', '\\Program Files (x86)\\Common
Files\\Oracle\\Java\\javapath', 'C', '\\Program Files (x86)\\Common Files\\Intel\\Shared Libraries\\redist\\intel64\\compiler', 'C', '\\Program Files\\Python36\\Scripts', 'C', '\\Program Files\\Python36', 'C', '\\Windows\\system32', 'C', '\\Windows', 'C', '\\Windows\\System32\\Wbem', 'C', '\\Windows\\System32\\WindowsPowerShell\\v1.0', 'C', '\\Windows\\System32\\OpenSSH', 'C', '\\Program Files (x86)\\NVIDIA Corporation\\PhysX\\Common', 'C', '\\Program Files\\NVIDIA Corporation\\NVIDIA NvDLISR', 'c', '\\Program Files (x86)\\Microsoft SQL Server\\100\\Tools\\Binn', 'c', '\\Program Files\\Microsoft SQL Server\\100\\Tools\\Binn', 'c', '\\Program Files\\Microsoft SQL Server\\100\\DTS\\Binn', 'C', '\\Program Files (x86)\\PDFtk\\bin', 'C', '\\Users\\Autumoon\\.dnx\\bin', 'C', '\\Program Files\\Microsoft DNX\\Dnvm', 'D', '\\Softwares\\MatLabR2019a\\runtime\\win64', 'D', '\\Softwares\\MatLabR2019a\\bin', 'D', '\\Softwares\\MatLabR2019a\\polyspace\\bin', 'C', '\\Program Files\\dotnet', 'C', '\\Program Files\\Microsoft SQL Server\\130\\Tools\\Binn', 'C', '\\Program Files (x86)\\IncrediBuild', 'C', '\\Softwares\\Anaconda', 'C',
'\\Softwares\\Anaconda\\Scripts', 'C', '\\Softwares\\Anaconda\\Library\\bin', 'D', '\\Projects\\ninja', 'C', '\\Program Files\\Git LFS', 'C', '\\Program Files\\Git\\cmd', 'C', '\\Program Files\\nodejs', 'C', '\\Softwares\\Anaconda\\envs\\CU111-Py38-Torch180', 'C', '\\Users\\Autumoon\\AppData\\Local\\Microsoft\\WindowsApps', 'C', '\\Program Files\\Bandizip', 'C', '\\Users\\Autumoon\\AppData\\Local\\Pandoc', 'C', '\\Users\\Autumoon\\AppData\\Roaming\\npm', 'C', '\\Softwares\\VSCode\\Microsoft VS Code\\bin']), This path may cause jittor found the wrong libs, please unset LD_LIBRARY_PATH and remove cuda lib path in Path.
Or you can let jittor install cuda for you: `python3.x -m jittor_utils.install_cuda`
[w 0603 20:08:38.138000 40 compile_extern.py:203] CUDA related path found in LD_LIBRARY_PATH or PATH(['', 'C', '\\Users\\Autumoon\\.cache\\jittor\\jtcuda\\cuda11.2_cudnn8_win\\lib64', '', 'C', '\\Users\\Autumoon\\.cache\\jittor\\mkl\\dnnl_win_2.2.0_cpu_vcomp\\bin', '', 'C', '\\Users\\Autumoon\\.cache\\jittor\\mkl\\dnnl_win_2.2.0_cpu_vcomp\\lib', '', 'C', '\\Users\\Autumoon\\.cache\\jittor\\jt1.3.7\\cl\\py3.8.12\\Windows-10-10.x76\\11thGenIntelRCxaa\\default', '', 'C', '\\Users\\Autumoon\\.cache\\jittor\\jt1.3.7\\cl\\py3.8.12\\Windows-10-10.x76\\11thGenIntelRCxaa\\default\\cu11.2.67', '', 'C', '\\Users\\Autumoon\\.cache\\jittor\\jtcuda\\cuda11.2_cudnn8_win\\bin', '', 'C', '\\Users\\Autumoon\\.cache\\jittor\\jtcuda\\cuda11.2_cudnn8_win\\lib\\x64', '', 'C', '\\Users\\Autumoon\\.cache\\jittor\\msvc\\win10_kits\\lib\\ucrt\\x64', '', 'C', '\\Users\\Autumoon\\.cache\\jittor\\msvc\\win10_kits\\lib\\um\\x64', '', 'C', '\\Users\\Autumoon\\.cache\\jittor\\msvc\\VC\\lib', '', 'c', '\\softwares\\anaconda\\envs\\cu111-py38-torch180\\libs', 'C', '\\Users\\Autumoon\\.cache\\jittor\\msvc\\VC\\_\\_\\_\\_\\_\\bin', 'C', '\\Softwares\\Anaconda\\envs\\CU111-Py38-Torch180', 'C', '\\Softwares\\Anaconda\\envs\\CU111-Py38-Torch180\\Library\\mingw-w64\\bin', 'C', '\\Softwares\\Anaconda\\envs\\CU111-Py38-Torch180\\Library\\usr\\bin', 'C', '\\Softwares\\Anaconda\\envs\\CU111-Py38-Torch180\\Library\\bin', 'C', '\\Softwares\\Anaconda\\envs\\CU111-Py38-Torch180\\Scripts', 'C', '\\Softwares\\Anaconda\\envs\\CU111-Py38-Torch180\\bin', 'C', '\\Softwares\\Anaconda\\condabin', 'C', '\\Program Files\\Zetane', 'C', '\\Program Files (x86)\\Microsoft Visual Studio\\2019\\BuildTools\\VC\\Tools\\MSVC\\14.29.30133\\bin\\Hostx86\\x64', 'C', '\\Program Files (x86)\\Microsoft Visual Studio\\2019\\BuildTools\\VC\\Tools\\MSVC\\14.29.30133\\include', 'C', '\\Users\\Autumoon\\.cache\\jittor\\jtcuda\\cuda11.2_cudnn8_win\\libnvvp', 'C', '\\Users\\Autumoon\\.cache\\jittor\\jtcuda\\cuda11.2_cudnn8_win\\include', 'C', '\\Users\\Autumoon\\.cache\\jittor\\jtcuda\\cuda11.2_cudnn8_win\\bin', 'D', '\\Softwares\\CudaManager\\CUDA11.1\\DevDoc\\bin', 'D', '\\Softwares\\CudaManager\\CUDA11.1\\DevDoc\\libnvvp', 'D', '\\Softwares\\CudaManager\\CUDA11.1\\DevDoc\\include', 'D', '\\Softwares\\CudaManager\\CUDA10.0\\DevDoc\\libnvvp', 'D', '\\Softwares\\CudaManager\\CUDA10.0\\DevDoc\\bin', 'D', '\\Softwares\\CudaManager\\CUDA10.2\\DevDoc\\bin', 'D', '\\Softwares\\CudaManager\\CUDA10.2\\DevDoc\\libnvvp', 'D', '\\Softwares\\CudaManager\\CUDA9.0\\DevDoc\\bin', 'D', '\\Softwares\\CudaManager\\CUDA9.0\\DevDoc\\libnvvp',
'D', '\\Softwares\\CudaManager\\CUDA9.0\\DevDoc\\include', 'C', '\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v11.0\\bin', 'C', '\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v11.0\\libnvvp', 'C', '\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v11.0\\include', '.', 'C', '\\Program Files (x86)\\Common
Files\\Oracle\\Java\\javapath', 'C', '\\Program Files (x86)\\Common Files\\Intel\\Shared Libraries\\redist\\intel64\\compiler', 'C', '\\Program Files\\Python36\\Scripts', 'C', '\\Program Files\\Python36', 'C', '\\Windows\\system32', 'C', '\\Windows', 'C', '\\Windows\\System32\\Wbem', 'C', '\\Windows\\System32\\WindowsPowerShell\\v1.0', 'C', '\\Windows\\System32\\OpenSSH', 'C', '\\Program Files (x86)\\NVIDIA Corporation\\PhysX\\Common', 'C', '\\Program Files\\NVIDIA Corporation\\NVIDIA NvDLISR', 'c', '\\Program Files (x86)\\Microsoft SQL Server\\100\\Tools\\Binn', 'c', '\\Program Files\\Microsoft SQL Server\\100\\Tools\\Binn', 'c', '\\Program Files\\Microsoft SQL Server\\100\\DTS\\Binn', 'C', '\\Program Files (x86)\\PDFtk\\bin', 'C', '\\Users\\Autumoon\\.dnx\\bin', 'C', '\\Program Files\\Microsoft DNX\\Dnvm', 'D', '\\Softwares\\MatLabR2019a\\runtime\\win64', 'D', '\\Softwares\\MatLabR2019a\\bin', 'D', '\\Softwares\\MatLabR2019a\\polyspace\\bin', 'C', '\\Program Files\\dotnet', 'C', '\\Program Files\\Microsoft SQL Server\\130\\Tools\\Binn', 'C', '\\Program Files (x86)\\IncrediBuild', 'C', '\\Softwares\\Anaconda', 'C',
'\\Softwares\\Anaconda\\Scripts', 'C', '\\Softwares\\Anaconda\\Library\\bin', 'D', '\\Projects\\ninja', 'C', '\\Program Files\\Git LFS', 'C', '\\Program Files\\Git\\cmd', 'C', '\\Program Files\\nodejs', 'C', '\\Softwares\\Anaconda\\envs\\CU111-Py38-Torch180', 'C', '\\Users\\Autumoon\\AppData\\Local\\Microsoft\\WindowsApps', 'C', '\\Program Files\\Bandizip', 'C', '\\Users\\Autumoon\\AppData\\Local\\Pandoc', 'C', '\\Users\\Autumoon\\AppData\\Roaming\\npm', 'C', '\\Softwares\\VSCode\\Microsoft VS Code\\bin']), This path may cause jittor found the wrong libs, please unset LD_LIBRARY_PATH and remove cuda lib path in Path.
Or you can let jittor install cuda for you: `python3.x -m jittor_utils.install_cuda`
Traceback (most recent call last):
File "C:\Softwares\Anaconda\envs\CU111-Py38-Torch180\lib\site-packages\jittor\compile_extern.py", line 235, in setup_cuda_extern
setup_cuda_lib(lib_name, extra_flags=link_cuda_extern)
File "C:\Softwares\Anaconda\envs\CU111-Py38-Torch180\lib\site-packages\jittor\compile_extern.py", line 294, in setup_cuda_lib
ctypes.CDLL(ex_cudnn_path, dlopen_flags)
File "C:\Softwares\Anaconda\envs\CU111-Py38-Torch180\lib\ctypes\__init__.py", line 373, in __init__
self._handle = _dlopen(self._name, mode)
OSError: [WinError 127] 找不到指定的程序。
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "train_cls.py", line 15, in <module>
import jittor as jt
File "C:\Softwares\Anaconda\envs\CU111-Py38-Torch180\lib\site-packages\jittor\__init__.py", line 25, in <module>
from . import compile_extern
File "C:\Softwares\Anaconda\envs\CU111-Py38-Torch180\lib\site-packages\jittor\compile_extern.py", line 596, in <module>
setup_cuda_extern()
File "C:\Softwares\Anaconda\envs\CU111-Py38-Torch180\lib\site-packages\jittor\compile_extern.py", line 247, in setup_cuda_extern
LOG.f(msg)
File "C:\Softwares\Anaconda\envs\CU111-Py38-Torch180\lib\site-packages\jittor_utils\__init__.py", line 104, in f
def f(self, *msg): self._log('f', 0, *msg)
File "C:\Softwares\Anaconda\envs\CU111-Py38-Torch180\lib\site-packages\jittor_utils\__init__.py", line 89, in _log
cc.log(fileline, level, verbose, msg)
RuntimeError: [f 0603 20:08:38.861000 40 compile_extern.py:247] CUDA found but cudnn is not loaded:
Develop version of CUDNN not found,
please refer to CUDA offical tar file installation:
https://docs.nvidia.com/deeplearning/cudnn/install-guide/index.html#installlinux-tar
or you can let jittor install cuda and cudnn for you:
>>> python3.8 -m jittor_utils.install_cuda
这么大段信息里面大部分都是说LD_LIBRARY_PATH的,忽略,重点是结尾的:
CUDA found but cudnn is not loaded:
Develop version of CUDNN not found,
please refer to CUDA offical tar file installation:
https://docs.nvidia.com/deeplearning/cudnn/install-guide/index.html#installlinux-tar
or you can let jittor install cuda and cudnn for you:
>>> python3.8 -m jittor_utils.install_cuda
提示没找到CUDNN,就很奇怪,本来我系统里面的CUDA和CUDNN都是没问题的。既然提示错误,我又按照python -m jittor_utils.install_cuda指令安装了jittor打包好的CUDA11.2和CUDNN8.1.0,运行测试指令不报错,可运行SubdivNet就提示CUDA found but cudnn is not loaded,目前没找到合适的解决办法,请大家帮忙看一下,谢谢!
按照帖子的做法也未能成功。我的jittor版本1.3.7.16。
附:测试CUDNN指令:
Microsoft Windows [版本 10.0.19042.1348]
(c) Microsoft Corporation。保留所有权利。
C:\Users\Autumoon>where nvcc
C:\Users\Autumoon\.cache\jittor\jtcuda\cuda11.2_cudnn8_win\bin\nvcc.exe
C:\Users\Autumoon>nvidia-smi
Sat Jun 3 20:55:56 2023
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 512.36 Driver Version: 512.36 CUDA Version: 11.6 |
|-------------------------------+----------------------+----------------------+
| 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 NVIDIA GeForce ... WDDM | 00000000:01:00.0 On | N/A |
| N/A 60C P8 16W / N/A | 2847MiB / 16384MiB | 4% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 1144 C+G C:\Windows\explorer.exe N/A |
| 0 N/A N/A 2700 C+G ...wekyb3d8bbwe\Video.UI.exe N/A |
| 0 N/A N/A 2856 C+G ...y\ShellExperienceHost.exe N/A |
| 0 N/A N/A 3340 C+G ...lPanel\SystemSettings.exe N/A |
| 0 N/A N/A 3500 C+G ...NKI E-Study\cefclient.exe N/A |
| 0 N/A N/A 4648 C+G ...b3d8bbwe\WinStore.App.exe N/A |
| 0 N/A N/A 5088 C+G ...bbwe\Microsoft.Photos.exe N/A |
| 0 N/A N/A 10560 C+G ...5n1h2txyewy\SearchApp.exe N/A |
| 0 N/A N/A 12936 C+G ...4__8j3eq9eme6ctt\IGCC.exe N/A |
| 0 N/A N/A 14420 C+G ...\QQLive\QQLiveService.exe N/A |
| 0 N/A N/A 15332 C+G C:\Windows\explorer.exe N/A |
| 0 N/A N/A 15512 C+G ...zf8qxf38zg5c\SkypeApp.exe N/A |
| 0 N/A N/A 15980 C+G ...\current_new\DingTalk.exe N/A |
| 0 N/A N/A 16352 C+G ...cw5n1h2txyewy\LockApp.exe N/A |
| 0 N/A N/A 17804 C+G ...d\runtime\WeChatAppEx.exe N/A |
| 0 N/A N/A 18360 C+G ...nputApp\TextInputHost.exe N/A |
| 0 N/A N/A 19284 C+G ...9cg\Package\QuickLook.exe N/A |
| 0 N/A N/A 19488 C+G ...ekyb3d8bbwe\HxOutlook.exe N/A |
| 0 N/A N/A 23080 C+G ...8wekyb3d8bbwe\Cortana.exe N/A |
| 0 N/A N/A 25984 C+G ...ge\Application\msedge.exe N/A |
| 0 N/A N/A 27744 C+G ...root\Office16\WINWORD.EXE N/A |
| 0 N/A N/A 32556 C+G ...pplication\360ChromeX.exe N/A |
| 0 N/A N/A 33624 C+G ...e6\promecefpluginhost.exe N/A |
| 0 N/A N/A 38208 C+G ...icrosoft VS Code\Code.exe N/A |
+-----------------------------------------------------------------------------+
C:\Users\Autumoon>nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2020 NVIDIA Corporation
Built on Mon_Nov_30_19:15:10_Pacific_Standard_Time_2020
Cuda compilation tools, release 11.2, V11.2.67
Build cuda_11.2.r11.2/compiler.29373293_0