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?
延伸文章資訊
- 1Installation Guide Windows :: CUDA Toolkit Documentation
- 2GPU 支援
GPU 支援 · 這個頁面中的內容 · Pip 套件. 舊版TensorFlow · 硬體需求 · 軟體需求 · Linux 設定. 使用apt 安裝CUDA · Windows 設定.
- 3Ubuntu 16.04 安裝CUDA、cuDNN 教學 - Medium
Step 0 如何選擇安裝的版本 · Step 1 安裝前的準備動作 · Step 2 安裝CUDA · Step 3 安裝NVIDIA GPU driver · Step 4 安裝cuDNN.
- 4PyTorch
CUDA 11.3. ROCm 4.2 (beta). CPU. Run this Command: conda install pytorch torchvision torchaudio c...
- 5How to install CUDA on Ubuntu 20.04 Focal Fossa Linux
How to install CUDA toolkit from CUDA repository · In case you have not done so yet, make sure th...