decord icon indicating copy to clipboard operation
decord copied to clipboard

no CUDA-capable device is detected

Open azuredsky opened this issue 1 year ago • 0 comments

I build successed cuda version, but when I run it with an CUDA error:

CUDA error 100 at line 126 in file /hpc_stor01/home/chen/crop_videos/decord/src/video/nvcodec/cuda_decoder_impl.cc: no CUDA-capable device is detected CUDA error 100 at line 176 in file /hpc_stor01/home/chen/crop_videos/decord/src/video/nvcodec/cuda_decoder_impl.cc: no CUDA-capable device is detected

Traceback (most recent call last): File "/hpc_stor01/home/chen/crop_videos/scripts/test_decord.py", line 20, in frame = vr[frame_id] File "/hpc_stor01/home/chen/.local/lib/python3.10/site-packages/decord-0.6.0-py3.10-linux-x86_64.egg/decord/video_reader.py", line 104, in getitem self.seek_accurate(idx) File "/hpc_stor01/home/chen/.local/lib/python3.10/site-packages/decord-0.6.0-py3.10-linux-x86_64.egg/decord/video_reader.py", line 232, in seek_accurate success = _CAPI_VideoReaderSeekAccurate(self._handle, pos) File "/hpc_stor01/home/chen/.local/lib/python3.10/site-packages/decord-0.6.0-py3.10-linux-x86_64.egg/decord/_ffi/_ctypes/function.py", line 173, in call check_call(_LIB.DECORDFuncCall( File "/hpc_stor01/home/chen/.local/lib/python3.10/site-packages/decord-0.6.0-py3.10-linux-x86_64.egg/decord/_ffi/base.py", line 78, in check_call raise DECORDError(err_str) decord.ffi.base.DECORDError: [03:44:27] /hpc_stor01/home/chen/crop_videos/decord/src/video/nvcodec/cuda_threaded_decoder.cc:270: Check failed: run.load()

I tested in A10,and V100 all failed

azuredsky avatar Sep 02 '24 03:09 azuredsky