No SDP backend available, likely because you are running in pytorch versions < 2.0. In fact, you are using PyTorch 1.12.1+cu113. You might want to consider upgrading.

我的cuda是11.4的,用这个1.12.1正好。import 命令输出状态都是正常的。安装高版本的torch后,import命令就报错OSError: [WinError 126],c10_cuda.dll 找不到指定文件或依赖了

我的cuda是11.4的,用这个1.12.1正好。import 命令输出状态都是正常的。安装高版本的torch后,import命令就报错OSError: [WinError 126],c10_cuda.dll 找不到指定文件或依赖了