检查cuda版本 nvcc -V 打开torch previous 版本页面 https://pytorch.org/get-started/previous-versions/ 选择合适的版本 如 pip install torch==1.13.1+cu117 torchvision==0.14.1+cu117 torchaudio==0.13.1