python3和python2一样 可以在控制台进行输入
>>import torch >>print(torch.__version__)
终端中写入
cat /usr/local/cuda/version.txt
回车