I am working on workstation with CPU core I7 4790 and two GPUs GTX 760 4 GB ram/1152 core the system's memory is 16 GB RAM I have Ubuntu 14.04.1 LTS after many tries and reinstalling Ubuntu many times finally i have correctly installed nvidia driver 340.46 using 3 shell commands ppa xorg-edgers
now i want to install Cuda 6.5 toolkit but in the manual they say that the cuda toolkit installer will also install nvidia Graphics driver
how to prevent the installer from reinstall the graphics driver how to install cuda 6.5 toolkit without reinstalling my graphics driver because i faced many problems until i installed 340.46 correctly
and after successfully installing cuda toolkit 6.5 how to upgrade my graphics driver without disturbing cuda toolkit and reinstall everything from the beginning
The answer to your question is YES. The nvcc compiler driver is not related to the physical presence of a device, so you can compile CUDA codes even without a CUDA capable GPU.
Cuda needs to be installed in addition to the display driver unless you use conda with cudatoolkit or pip with cudatoolkit. Tensorflow and Pytorch need the CUDA system install if you install them with pip without cudatoolkit or from source.
The CUDA Toolkit installs the CUDA driver and tools needed to create, build and run a CUDA application as well as libraries, header files, and other resources.
You can install Nvidia drivers either using GUI or CLI method. Open “Software and Updates” app to install install Nvidia driver using GUI. OR type “ sudo apt install nvidia-driver-515 nvidia-dkms-515 ” at the CLI. Reboot the computer/laptop to load the drivers.
If you use the runfile installer method, the toolkit installer will prompt you individually for each of the 3 components:
So use the runfile installer method, and simply select "no" to the first prompt, if you don't want to install the driver. You can still install the toolkit and samples. You can download the runfile installer from here
and after successfully installing cuda toolkit 6.5 how to upgrade my graphics driver without disturbing cuda toolkit and reinstall everything from the beginning
The driver can always be installed separately by downloading a driver installer package from www.nvidia.com.
If you use a package manager method, it should be possible to install the toolkit without the driver by installing the cuda-toolkit-X.Y package, where X.Y is the CUDA version. Refer to the package manager section of the install guide
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With