不着急的安裝方法:
conda install pytorch torchvision torchaudio -c pytorch
or
conda install pytorch torchvision torchaudio cudatoolkit=11.1 -c pytorch -c nvidia
趕時間的安裝方法:
pip3 install torch==1.8.1+cu111 torchvision==0.9.1+cu111 torchaudio==0.8.1 -f https://download.pytorch.org/whl/torch_stable.html