CUDA: Difference between revisions

Line 20: Line 20:
[https://developer.nvidia.com/cuda-toolkit CUDA Toolkit]
[https://developer.nvidia.com/cuda-toolkit CUDA Toolkit]


{{hidden | Details |
<p>
See [https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html#ubuntu-installation CUDA Ubuntu Installation]
# Install drivers
<syntaxhighlight lang="bash">
sudo apt install nvidia-driver-565-open
# Set UBUNTU_VERSION to 2004 or 2204 or 2404
</p>
UBUNTU_VERSION=$(lsb_release -sr | sed -e 's/\.//g')
 
# Install nvidia driver
sudo apt install nvidia-driver-565
 
 
</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===