The correspondence between tensorflow version and cuda and cudnn: https://tensorflow.google.cn/install/source When installing, be sure to check the Driver Version under Linux required by CUDA. The link is as follows: https://docs.nvidia.com/cuda/cuda-toolkit-release-notes/index.html The additional drivers include the graphics card driver used by this machine. The message "Incomplete installation!" appears. You don't need to worry about it. The CUDA driver is not installed, but the graphics driver has been selected before. The command to uninstall CUDA is also mentioned, as shown in the afternoon. Add three paths in the user bashrc file. sudo gedit ~/.bashrc Remember to add: Test whether CUDA is installed successfully. Enter the command in the terminal: After success, the following is displayed: But it was found that the installation was not successful, and the graphics card driver version Execute a program in one of the samples to test it: cd /usr/local/cuda-10.0/samples/1_Utilities/deviceQuery sudo make ./deviceQuery The CUDA driver version does not correspond to the CUDA acceleration version, that is, the driver version I use is inconsistent with the version required by the downloaded CUDA10.0. The file I downloaded is called cuda_10.0.130_410.48_linux.run and the graphics driver version under my Linux is 384. I will not continue to upgrade the graphics driver here, because randomly upgrading the Linux graphics driver may cause display failure. This failed experience ends here. Write down the method of uninstalling cuda: Uninstall software location: usr/local/cuda-10.0/bin The file name is: uninstall_cuda_10.0.pl Enter the following command directly in the terminal: sudo /usr/local/cuda-10.0/bin/uninstall_cuda_10.0.pl After uninstallation, delete the remaining CUDA directories. choose a responding cudnn version: Reference article: https://blog.csdn.net/weixin_40702638/article/details/83304415 This is the end of this article about installing CUDA10.0 in Ubuntu and its problems. For more information about installing CUDA10.0 in Ubuntu, please search for previous articles on 123WORDPRESS.COM or continue to browse the following related articles. I hope you will support 123WORDPRESS.COM in the future! You may also be interested in:
|
<<: How to query date and time in mysql
>>: JavaScript to implement the aircraft war game
Defining the type of data fields in MySQL is very...
<br />Previous article: Web Design Tutorial ...
MySQL is the most popular relational database man...
The action of the form is different from the URL j...
question Running gdb in docker, hitting a breakpo...
cause The way to import external files into a min...
Table of contents Preface optimization SSR Import...
Unfortunately, the MYSQL_DATA_TRUNCATED error occ...
This article uses an example to illustrate the us...
After half an hour of trying to pull the MySQL im...
This article shares the specific code of JavaScri...
1. Error details Once when manually performing a ...
Table of contents Starting from type judgment Str...
1. Delete the original mariadb, otherwise mysql c...
Table of contents 1. MySQL join buffer 2. JoinBuf...