当前位置:   article > 正文

torch程序无法调用GPU的问题_runtimeerror: torch is not able to use gpu; add --

runtimeerror: torch is not able to use gpu; add --skip-torch-cuda-test to co

1、你的gpu序号是否写对了

nvidia-smi看看,一定是0、1等序号

2、你的torch和cuda版本号是否匹配

打开下面网页看看,一定要匹配:https://download.pytorch.org/whl/torch_stable.html

比如cuda100对应torch1.3.0

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

闽ICP备14008679号