![]() ![]() So, I'm trying to update my packages: ❯ sudo apt update Please install all available updates for your release before upgrading. Your Ubuntu release is not supported anymore. After installation, open a python console.I want to upgrade my Ubuntu from 19.04 to 20.04, but it's not possible until I update all my packages. ![]() Install Pytorchįollow the instruction of the official website. Run “cat /usr/local/cuda/include/cudnn.h | grep CUDNN_MAJOR -A 2 ” to see the version of CUDNN. Sudo chmod a+r /usr/local/cuda/lib64/libcudnn* Sudo chmod a+r /usr/local/cuda/include/cudnn.h Sudo cp cuda/lib64/libcudnn* /usr/local/cuda/lib64/ Sudo cp cuda/include/cudnn.h /usr/local/cuda/include/ Install CUDNNĭownload the related version. Other options, just use the default one.Įxport LD_LIBRARY_PATH=/usr/local/cuda-10.0/lib64$ In the second option, which asks you whether to install a driver, choose NO. Remember to download the runfile, instead of the. Install CUDA.įirst download CUDA installer from the official website. If it works well, then the driver is installed successfully. Sudo add-apt-repository ppa:graphics-driversĪfter the installation, reboot, then open a terminal and type in “ nvidia-smi“. But the safest way is to use apt, or the GUI. There are many ways to install the Nvidia driver. Sudo reboot Now let’s install the Nvidia Driver. Sudo gedit /etc/modprobe.d/nfĢ.Adding following lines at the end of the file: Remember to add the parameters as step 1 when booting.After installation finishes, remove the USB and reboot. Add acpi_osi=linux nomodeset after quiet splash, before the - (if any). Then you will see an interface with the boot arguments. First, move to the “Install Ubuntu” option.So you need to add some boot parameters manually. If you boot directly, the installer will stuck. ![]() ![]() Because of the open-source graphics card driver nouveau is not very compatible with laptops’ dual graphics cards, especially those which have GTX 10**.Enter the boot menu (By pressing F11 or F12 when booting), and select the USB.I prefer to use rufus to make the USB stick. You cannot change it directly, or you will fail to boot. Or the Ubuntu installer cannot detect the Windows on the drive. If the mode is RAID, change it to ACHI.So I think it is better to make a record. Although there are many tutorials on the Internet, only very few works. Last week I helped Zhenyi install the Ubuntu 18.04 dual system, and install NVIDIA driver, CUDA-10.0, CUDNN, Pytorch-gpu. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |