参考官网: https://pytorch.org/get-started/previous-versions/
查看cuda版本:cat /usr/local/cuda/version.txt
参考链接:https://www.zhihu.com/question/309583980