![]() Once complete, you should see a series of outputs that end in done.:Ĭongratulations! You should have a working installation of CUDA by now. Sudo mv cuda-wsl-ubuntu.pin /etc/apt/preferences.d/cuda-repository-pin-600 Then setup the appropriate package for Ubuntu WSL: ![]() Verify the system is running a supported version of Linux. Installing NVIDIA Drivers Option 1: Install NVIDIA drivers with CUDA toolkit from NVIDIA Website Option 2: Install NVIDIA drivers via. ![]() Pre-installation Actions Some actions must be taken before the CUDA Toolkit and Driver can be installed on Linux: Verify the system has a CUDA-capable GPU. Also notice that attempting to install the CUDA toolkit packages straight from the Ubuntu repository (“cuda”, “cuda-11-0”, or “cuda-drivers”) will attempt to install the Linux NVIDIA graphics driver, which is not what you want on WSL 2. NVIDIA CUDA Installation Guide for Linux DU-05347-001v11.1 4 Chapter 2. Be aware that older versions of CUDA (<=10) don’t support WSL 2. The following commands will install the WSL-specific CUDA toolkit version 11.6 on Ubuntu 22.04 AMD64 architecture. So, I think that this situation is, at least, a bit confusing. On WSL 2, the CUDA driver used is part of the Windows driver installed on the system, and, therefore, care must be taken not to install this Linux driver as previously mentioned. CUDA Toolkit 10.2 requires GCC 7, but GCC version supported GPU (CUDA) for R2020b is GCC 8. ![]() My System Configuration are:-> GPU: GTX 1050Ti-> OS: Ubuntu 20.04 Its recommended to create a separate virtual environment for your tensorflow. Normally, CUDA toolkit for Linux will have the device driver for the GPU packaged with it. We are going to install Tensorflow 2.4.0 with GPU support on an Ubuntu 20.04 system. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |