How to downgrade CUDA on Linux, Change CUDA versions for Torch/Tensorflow

How to downgrade CUDA on Linux, Change CUDA versions for Torch/Tensorflow

If you are looking for a useful guide about (How to downgrade CUDA on Linux, Change CUDA versions for Torch/Tensorflow) then you are reading the right article, because in this article we have embedded an amazing youtube video related to this topic which will prove to be very useful for you.


Trying to use Tensorflow, Torch or another program on Linux but can't because of CUDA version mismatch errors or wrong CUDA versions? Well, this video shows you how to uninstall and reinstall an older version of CUDA properly on Linux/Ubuntu, including CuDNN as well. By the end, you should be able to use AI and other software as intended on the correct CUDA versions. I have no idea if these commands work for Docker. # 1. Removing existing CUDA sudo apt --purge remove "cublas*" "cuda*" sudo apt --purge remove "nvidia*" rm -rf /usr/local/cuda* sudo apt-get autoremove && sudo apt-get autoclean # Now you need to reboot # reboot # 2. Downloading specific CUDA version # Install build essentials sudo apt-get install g++ freeglut3-dev build-essential libx11-dev libxmu-dev libxi-dev libglu1-mesa libglu1-mesa-dev # Get and install Nvidia CUDA # reboot # 3. Set environment variables echo 'export PATH=/usr/local/cuda-11.3/bin:$PATH' (( 2 greater than characters )) ~/.bashrc echo 'export LD_LIBRARY_PATH=/usr/local/cuda-11.3/lib64:$LD_LIBRARY_PATH' (( 2 greater than characters )) ~/.bashrc # REMEMBER TO REPLACE "(( 2 greater than characters ))" ABOVE! # YouTube does not allow the use of these symbols. # 4. Install CuDNN # Download CuDNN - https://developer.nvidia.com/rdp/cudn... tar -xzvf ((archive)) sudo cp -P cuda/include/cudnn.h /usr/local/cuda-11.3/include sudo cp -P cuda/lib64/libcudnn* /usr/local/cuda-11.3/lib64/ sudo chmod a+r /usr/local/cuda-11.3/lib64/libcudnn* Timestamps: 0:00 - Explanation 0:13 - Why? 0:23 - Steps in this video 0:46 - Delete existing CUDA install 1:18 - Install Build Essentials 1:32 - Installing older CUDA version 3:27 - Set environment variables 4:30 - Install CuDNN 6:08 - Check the Nvidia CUDA version

The youtube video embedded above will give you the best visual guide and if you want to see similar useful videos, you can also check out other videos on this channel. This youtube channel plays an important role in the growth of the gaming community because the videos uploaded by this youtube channel prove to be very useful for the gamers, because the videos uploaded by this youtube channel prove to be very useful for gamers, due to which this youtube channel deserves thanks.

Did you like this information? Do tell your thoughts by commenting in the comment box below. If you want to share any interesting and important information related to gaming with us or you want to give us your valuable suggestions, then you can contact us through our official email, we will try to reply your email as soon as possible.

If you want to stay updated with similar useful and important information related to gaming, then you can subscribe to our website. If you want to get quick updates then you can follow us on Google News, Facebook, and Twitter. If you liked this article, then you can support us by sharing this article on social media.
Tags :-

Post a Comment

0 Comments
* Please Don't Spam Here. All the Comments are Reviewed by Admin.
Our website uses cookies to enhance your experience. Learn More
Accept !