[python 环境配置错误] Linux服务器 RunTimeError: cuDNN error: CUDNN_STATUS_EXECUTION_FAILED

注意!!! 同时安装pytorch和cuda时,最好去官网搜索安装命令,这样可以保证版本对应 在服务器上运行代码时遇到上述错误。首先明确一点,服务器可以安装多种cuda,虚拟环境的cuda可以和服务器的不同,使用cat /usr/local/cuda/version.txt 查看的是服务器的cuda, 并不是虚拟环境的,虚拟环境用conda list直接查看cudatoolkit cudnn的版本
相关文章
相关标签/搜索