paddle
安装(cuda11.2)
选择版本,cuda版本需要完全一致,需要手动安装环境 cudnn 版本不要太高了 cudnn-11.x-windows-x64-v8.2.0.53 解压到 cuda 对应的文件夹,运行成功 https://developer.nvidia.com/rdp/cudnn-archive

- 执行gpu(cuda11.2)报错RuntimeError: (PreconditionNotMet) The third-party dynamic library (cudnn64_8.dll) that Paddle depends on is not configured correctly. (error code is 126)
把C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.2\bin里的cudnn64_9.dll改为cudnn64_8.dll(或者下载cudnn64_8.dll)
torch
安装
选择版本https://download.pytorch.org/whl/torch_stable.html 自带cuda等环境,不用手动安装

python -m pip install ****.whl
cu113/torch-1.10.0%2Bcu113-cp36-cp36m-linux_x86_64.whl cu113代表cuda版本为11.3 cp36 代表python版本为python3.6 linux_x86_64 为系统版本