CUDA: Difference between revisions

 
(One intermediate revision by the same user not shown)
Line 20: Line 20:
[https://developer.nvidia.com/cuda-toolkit CUDA Toolkit]
[https://developer.nvidia.com/cuda-toolkit CUDA Toolkit]


{{hidden | Details |
See [https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html#ubuntu-installation CUDA Ubuntu Installation]
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
# Set UBUNTU_VERSION to 2004 or 2204 or 2404
# Install drivers
UBUNTU_VERSION=$(lsb_release -sr | sed -e 's/\.//g')
sudo apt install nvidia-driver-565-open
 
# Install nvidia driver
sudo apt install nvidia-driver-565
 
 
</syntaxhighlight>
</syntaxhighlight>
;Notes
* For machine learning, use Anaconda or Docker's CUDA since different versions of TensorFlow and PyTorch require different CUDA versions.
}}


===GCC Versions===
===GCC Versions===