torch程序无法调用GPU的问题1、你的gpu序号是否写对了2、你的torch和cuda版本号是否匹配 1、你的gpu序号是否写对了nvidia-smi看看,一定是0、1等序号2、你的torch和cuda版本号是否匹配打开下面网页看看,一定要匹配:https://download.pytorch.org/whl/torch_stable.html比如cuda100对应torch1.3.0 机器学习 2024-05-25 172 点赞 2 评论 260 浏览