- Requires Python >= 3.8 and PyTorch >= 1.11
- conda list torch 查看包 pip uninstall torch 及各个包,nvidia-smi查看cuda11.4,安装对应11.3
- 去官网找cuda11.3和torch1.11.0并粘贴命令,再安装torcheval
pip install torch0.12.0+cu113 torchaudio==0.11.0 --extra-index-url https://download.pytorch.org/whl/cu113
pip install torcheval
- 看了看这篇文章
PyTorch1.11.0 GPU版本安装(python3.8+pyTorch1.11.0,torch1.11.0+cu113 torchvision0.12.0+cu113)https://blog.csdn.net/weixin_39450145/article/details/125669330