cpu版(极速):
D:\anaconda3\envs\env_name\Scripts\pip.exe install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu124 -i https://pypi.tuna.tsinghua.edu.cn/simple
【工程实践】pytorch加速下载(conda与pip)_pytorch清华源下载-CSDN博客
使用pip install替代conda install将packet下载到anaconda虚拟环境_用pip下载了怎么改成用conda下载-CSDN博客
卸载装gpu版:
torch.cuda.is_available()返回false——解决办法_cuda available false-CSDN博客