Installing NVIDIA and CUDA on Linux - mmrl/dl GitHub Wiki
For those who wish to setup their PC to use CUDA only for computing, use the following step-by-step tutorial by Ruohui Wang:
This might save some resources by not running any Xorg processes on the GPU. Not that even if the onboard graphics card is used for display, Xorg will probe and create a process on the NVIDIA graphics unless told otherwise.