CUDA and cuDNN (Install) - System76 Support
文章推薦指數: 80 %
Install on Pop!_OS · Install The latest NVIDIA CUDA Toolkit · For older releases of The NVIDIA CUDA Toolkit · Switch between different versions. CUDAandcuDNN(Install) InstallonPop!_OS InstallThelatestNVIDIACUDAToolkit ToinstalltheCUDAtoolkit,pleaserunthiscommand: sudoaptinstallsystem76-cuda-latest ToinstallthecuDNNlibrary,pleaserunthiscommand: sudoaptinstallsystem76-cudnn-11.2 Toverifyinstallation,runthiscommandafterareboot: nvcc-V ForolderreleasesofTheNVIDIACUDAToolkit TheseversionsareonlyinPop21.04 ToinstallCUDA11.1 sudoaptinstallsystem76-cuda-11.1 FortherespectivecuDNNlibrary: sudoaptinstallsystem76-cudnn-11.1 TheseversionsareonlyinPop20.04LTS ToinstallCUDA10.0: sudoaptinstallsystem76-cuda-10.0 FortherespectivecuDNNlibrary: sudoaptinstallsystem76-cudnn-10.0 ToinstallCUDA10.1: sudoaptinstallsystem76-cuda-10.1 FortherespectivecuDNNlibrary: sudoaptinstallsystem76-cudnn-10.1 ToinstallCUDA10.2: sudoaptinstallsystem76-cuda-10.2 FortherespectivecuDNNlibrary: sudoaptinstallsystem76-cudnn-10.2 Switchbetweendifferentversions YoucanswitchbetweeneachCUDAversionwiththefollowingcommand: sudoupdate-alternatives--configcuda Toverifyinstallation,runthiscommandtoseethecurrentversionoftheNVIDIACUDAcompiler: nvcc-V YoucanchecktheversionofcuDNNwiththiscommand: cat/usr/lib/cuda/include/cudnn_version.h|grepCUDNN_MAJOR-A2 NotrunningPop!_OS? ThepreviousinstructionswillworkwithPop!_OSoutoftheboxbutforUbuntuandotherDebianderivativesthefollowingcommandswillneedtoberunfirst: Ubuntu20.04LTS echo"debhttp://apt.pop-os.org/proprietaryfocalmain"|sudotee-a/etc/apt/sources.list.d/pop-proprietary.list sudoapt-keyadv--keyserverkeyserver.ubuntu.com--recv-key204DD8AEC33A7AFF sudoaptupdate Ubuntu21.04 echo"debhttp://apt.pop-os.org/proprietaryhirsutemain"|sudotee-a/etc/apt/sources.list.d/pop-proprietary.list sudoapt-keyadv--keyserverkeyserver.ubuntu.com--recv-key204DD8AEC33A7AFF sudoaptupdate *ThesepackageshavebeentestedwiththeSystem76NVIDIAdriveronly. ThefollowingarticlewillgooverinstallingtheSystem76NVIDIAdriver. TableofContents InstallonPop!_OS InstallThelatestNVIDIACUDAToolkit ForolderreleasesofTheNVIDIACUDAToolkit Switchbetweendifferentversions NotrunningPop!_OS?
延伸文章資訊
- 1Win10 安裝CUDA、cuDNN 教學. 上一篇有介紹如何 ... - Medium
上一篇有介紹如何在Ubuntu 安裝CUDA、cuDNN,本篇將要來介紹Win10 的CUDA、cuDNN 安裝教學. 安裝流程分為以下步驟,作業系統使用Windows 10.
- 2PyTorch
CUDA 11.3. ROCm 4.2 (beta). CPU. Run this Command: conda install pytorch torchvision torchaudio c...
- 3CUDA Compatibility :: NVIDIA Data Center GPU Driver Documentation
- 4CUDA and cuDNN (Install) - System76 Support
Install on Pop!_OS · Install The latest NVIDIA CUDA Toolkit · For older releases of The NVIDIA CU...
- 5Do you need to install CUDA for using the GPU?