-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Hello! I get a problem trying to do test
File "A:\conda\Lib\site-packages\cupy_init_.py", line 17, in
from cupy import core # NOQA
^^^^^^^^^^^^^^^^^^^^^^
File "A:\conda\Lib\site-packages\cupy_core_init.py", line 3, in
from cupy._core import core # NOQA
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "cupy_core\core.pyx", line 1, in init cupy.core.core
File "A:\conda\Lib\site-packages\cupy\cuda_init.py", line 8, in
from cupy.cuda import compiler # NOQA
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "A:\conda\Lib\site-packages\cupy\cuda\compiler.py", line 13, in
from cupy.cuda import device
File "cupy\cuda\device.pyx", line 1, in init cupy.cuda.device
ImportError: DLL load failed while importing runtime: The specified module was not found
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "A:\VFSS\inference_video.py", line 11, in
from model.VFSS_infer_b import Model
File "A:\VFSS\model\VFSS_infer_b.py", line 10, in
from model.softsplat import softsplat as warp
File "A:\VFSS\model\softsplat.py", line 4, in
import cupy
File "A:\conda\Lib\site-packages\cupy_init_.py", line 19, in
raise ImportError(f'''
ImportError:
Failed to import CuPy.
If you installed CuPy via wheels (cupy-cudaXXX or cupy-rocm-X-X), make sure that the package matches with the version of CUDA or ROCm installed.
On Linux, you may need to set LD_LIBRARY_PATH environment variable depending on how you installed CUDA/ROCm.
On Windows, try setting CUDA_PATH environment variable.
Check the Installation Guide for details:
https://docs.cupy.dev/en/latest/install.html
CUDA Path: C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3
DLL dependencies:
KERNEL32.dll -> C:\Windows\System32\KERNEL32.DLL
MSVCP140.dll -> A:\conda\msvcp140.dll
VCRUNTIME140.dll -> A:\conda\VCRUNTIME140.dll
api-ms-win-crt-convert-l1-1-0.dll -> C:\Windows\System32\ucrtbase.dll
api-ms-win-crt-environment-l1-1-0.dll -> C:\Windows\System32\ucrtbase.dll
api-ms-win-crt-filesystem-l1-1-0.dll -> C:\Windows\System32\ucrtbase.dll
api-ms-win-crt-heap-l1-1-0.dll -> C:\Windows\System32\ucrtbase.dll
api-ms-win-crt-runtime-l1-1-0.dll -> C:\Windows\System32\ucrtbase.dll
api-ms-win-crt-stdio-l1-1-0.dll -> C:\Windows\System32\ucrtbase.dll
cuTENSOR.dll -> not found
cublas64_11.dll -> not found
cudart64_110.dll -> not found
cudnn64_8.dll -> not found
cufft64_10.dll -> not found
curand64_10.dll -> C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\bin\curand64_10.dll
cusolver64_11.dll -> C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\bin\cusolver64_11.dll
cusparse64_11.dll -> not found
nvcuda.dll -> C:\Windows\SYSTEM32\nvcuda.dll
nvrtc64_112_0.dll -> not found
python311.dll -> A:\conda\python311.dll
Original error:
ImportError: DLL load failed while importing runtime:The specified module was not found
What i need to do?