-
-
Notifications
You must be signed in to change notification settings - Fork 681
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
(PreconditionNotMet) Cannot load cudnn shared library. Cannot invoke method cudnnGetVersion. #356
Comments
too |
python ./backend/main.py --use_gpu False --show_log True请输入视频完整路径:/home/video-subtitle-extractor-main/1.mp4 4%|█▊ | 53/1200 [00:04<01:38, 11.63it/s] 都指定不要GPU了,还是会走到GPU相关代码 |
你安装的cuda和cudnn版本可以说下吗 |
wget https://developer.nvidia.com/downloads/compute/cudnn/secure/8.9.7/local_installers/12.x/cudnn-local-repo-rhel7-8.9.7.29-1.0-1.x86_64.rpm rpm -ql cudnn-local-repo-rhel7-8.9.7.29.x86_64 yum localinstall -y /var/cudnn-local-repo-rhel7-8.9.7.29/libcudnn8-8.9.7.29-1.cuda12.2.x86_64.rpm ls /usr/local/cuda/include/ | grep cudnn mkdir ~/cudnn_temp cp usr/include/cudnn*.h /usr/local/cuda/include/ ls /usr/local/cuda/include/ | grep cudnn echo 'export PATH=/usr/local/cuda/bin:$PATH' >> ~/.bashrc 重新装cudnn就可以了 不过请教一下,大佬,后面可能需要部署cpu的版本,传--use_gpu False 是不是就不应该报Cannot invoke method cudnnGetVersion错呀 |
【处理中】开启提取视频关键帧...
【处理中】开始提取字幕信息,此步骤可能花费较长时间,请耐心等待...
(PreconditionNotMet) Cannot load cudnn shared library. Cannot invoke method cudnnGetVersion. | 0/204 [00:00<?, ?it/s]
[Hint: cudnn_dso_handle should not be null.] (at ../paddle/phi/backends/dynload/cudnn.cc:60)
0%|▋ | 1/204 [00:01<05:25, 1.60s/it]
The text was updated successfully, but these errors were encountered: