有英伟达新卡的安装
https://mp.weixin.qq.com/s/2B6CCjeJ0S8hZc3MtaojTA
GPU
pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu121
其中cu118是cuda的版本
官网
https://download.pytorch.org/whl/
CPU
pip install numpy --pre torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/nightly/cpu
撸起袖子加油干!!!