CUDA and cuDNN (Install) - System76 Support

文章推薦指數: 80 %
投票人數:10人

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?



請為這篇文章評分?