在win10系统中报错:GeForce RTX 3080 with CUDA capability sm_86 is not compatible with the current PyTorch installation. The current PyTorch install supports CUDA capabilities sm_37 sm_50 sm_60 sm_61 sm_70 sm_75 compute_37.
主要原因是CUDA和pytorch版本不匹配导致的。
pytorch版本过低,这里只需要把pytorch更新到1.11版本就可以了。
conda install pytorch torchvision torchaudio cudatoolkit=11.3 -c pytorch
原因可能是1.11版本之后支持了较高算力的GPU。
如果是由于CUDA版本过低的话,可以尝试更新CUDA版本。
这里是详细步骤:https://blog.csdn.net/WYKB_Mr_Q/article/details/121460304
日常学习记录,一起交流讨论吧!侵权联系~