问题
RuntimeError: The NVIDIA driver on your system is too old (found version 10010). Please update your GPU driver by downloading and installing a new version from the URL: http://www.nvidia.com/Download/index.aspx Alternatively, go to: https://pytorch.org to install a PyTorch version that has been compiled with your version of the CUDA driver.
解决方法
方法一、更新驱动:Official Drivers | NVIDIA
方法二、安装合适版本的pytorch
通过命令nvidia-smi查看cuda版本,
nvidia-smi
到官网(pytorch.org)下载合适的pytorch版本,
conda install pytorch==1.7.1 torchvision==0.8.2 torchaudio==0.7.2 cudatoolkit=10.1 -c pytorch