当前位置:   article > 正文

【深度学习】Could not load library libcudnn_cnn_infer.so.8.

【深度学习】Could not load library libcudnn_cnn_infer.so.8.

会报错:
/opt/conda/lib/python3.10/site-packages/torch/nn/utils/weight_norm.py:28: UserWarning: torch.nn.utils.weight_norm is deprecated in favor of torch.nn.utils.parametrizations.weight_norm.
warnings.warn(“torch.nn.utils.weight_norm is deprecated in favor of torch.nn.utils.parametrizations.weight_norm.”)
Loaded checkpoint ‘checkpoints_v2/converter/checkpoint.pth’
missing/unexpected keys: [] []
OpenVoice version: v2
Could not load library libcudnn_cnn_infer.so.8. Error: /lib/x86_64-linux-gnu/libcudnn_cnn_infer.so.8: undefined symbol: _ZN11nvrtcHelper4loadEb, version libcudnn_ops_infer.so.8
Please make sure libcudnn_cnn_infer.so.8 is in your library path!
Aborted (core dumped)

其实就是找不到你的libcudnn_cnn_infer.so.8.文件了,要加入环境变量。

分析libcudnn_cnn_infer.so.8.在哪里,首先:

which python
  • 1

然后可以用find指令找:


                
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/Guff_9hys/article/detail/924829
推荐阅读
相关标签
  

闽ICP备14008679号