Skip to content
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

Could not locate cudnn_ops_infer64_8.dll. Please make sure it is in your library path! #77

Open
DAO-918 opened this issue Dec 17, 2024 · 5 comments

Comments

@DAO-918
Copy link

DAO-918 commented Dec 17, 2024

3. 生成字幕、提供程序是: faster-whisper-large-v2

2024-12-17 19:01:23 | INFO | "./app\services\subtitle.py:53": create - 尝试使用 CUDA 加载模型: ./app/models/faster-whisper-large-v2
2024-12-17 19:01:26 | INFO | "./app\services\subtitle.py:62": create - 成功使用 CUDA 加载模型
2024-12-17 19:01:26 | INFO | "./app\services\subtitle.py:86": create - 模型加载完成,使用设备: cuda, 计算类型: float16
2024-12-17 19:01:26 | INFO | "./app\services\subtitle.py:88": create - start, output file: .\storage\tasks\7e946e89-713e-40f6-b8c6-3f26d9a275a3\subtitle.srt
Could not locate cudnn_ops_infer64_8.dll. Please make sure it is in your library path!

用的是WIN整合包,配置里是cpu计算,但是还是用的cuda
图片

@DAO-918
Copy link
Author

DAO-918 commented Dec 17, 2024

***** Current directory: D:\AI Tech\NarratoAI\ *****
***** FFmpeg file: D:\AI Tech\NarratoAI\lib\ffmpeg\ffmpeg-7.0-essentials_build\ffmpeg.exe *****
***** ImageMagick file: D:\AI Tech\NarratoAI\lib\imagemagic\ImageMagick-7.1.1-29-portable-Q16-x64\magick.exe *****
***** PYTHONPATH: D:\AI Tech\NarratoAI\NarratoAI; *****
***** Credential file: C:\Users\Administrator.streamlit\credentials.toml *****
***** Changing working directory to: D:\AI Tech\NarratoAI\NarratoAI *****
***** Starting Streamlit... *****

@DAO-918
Copy link
Author

DAO-918 commented Dec 17, 2024

2024-12-17 19:15:52.841 | INFO | app.config.config:load_config:22 - load config from file: D:\AI Tech\NarratoAI\NarratoAI/config.toml
2024-12-17 19:15:52.842 | INFO | app.config.config::71 - NarratoAI v0.3.9
2024-12-17 19:16:01.660 Examining the path of torch.classes raised: Tried to instantiate class 'path.path', but it does not exist! Ensure that it is registered via torch::class

@yangshare
Copy link

Could not locate cudnn_ops_infer64_8.dll. Please make sure it is in your library path!

@yangshare
Copy link

Could not locate cudnn_ops_infer64_8.dll. Please make sure it is in your library path!

image

参考解决 SYSTRAN/faster-whisper#715

@mn8821236
Copy link

mn8821236 commented Jan 14, 2025

you need to download this "cuBLAS.and.cuDNN_CUDA11_win_v2.7z" from "https://github.com/Purfview/whisper-standalone-win/releases/tag/libs", and then place these two files
image
to the directory "path\lib\python\Lib\site-packages\torch\lib".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants