适用于Ubuntu 20.04的CUDA设置 # Install CUDA sudo apt-get update sudo apt-get install -y vim git wget python3 python3-pip python-is-python3 python3-virtualenv wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/cuda-ubuntu2004.pin sudo mv cuda-ubuntu2004.pin /etc/apt/preferences.d/cuda-repository-pin-600 wget https://developer.download.nvidia.com/compute/cuda/11.2.0/local_inst