版本一致性查看
https://docs.nvidia.com/cuda/cuda-toolkit-release-notes/index.html
torch.cuda.is_available()报错
不能使用镜像源,得用官网
https://pytorch.org/get-started/previous-versions/
pip --default-timeout=100 install torch==1.7.0+cu101 -f https://download.pytorch.org/whl/torch_stable.html