pytorch torchvision的版本对应关系:
Previous PyTorch Versions | PyTorch
torch 1.9.0对应的torchvision版本是0.10.0
pytorch历史版本下载地址:
https://download.pytorch.org/whl/torch_stable.html
使用方法:
1、除了直接使用链接外,即: pip install url链接
2、还有这种使用方法:
pip3 install torch==1.7.1+cu110 torchvision==0.8.2+cu110 -f https://download.pytorch.org/whl/torch_stable.html
参考:《【pytorch、docker】CUDA capability sm_86 is not compatible with xxxxxxx(与sm_37 sm_50 sm_60 sm_70对不上的问题)》