Categories
Python PyTorch

How to Install PyTorch with CUDA 10.2

PyTorch is a well recognized Deep Learning framework that installs by default the newest CUDA but what if you want to Install PyTorch with CUDA 10.2? (The latest CUDA is 11.0 and PyTorch will soon follow up.) If you haven’t upgraded NVIDIA driver or can’t upgrade CUDA due to lack of root access, you will […]

Categories
PyTorch Python

How to Check PyTorch CUDA Version Easily

Here you will learn how to check NVIDIA CUDA version for PyTorch and other frameworks like TensorFlow. The 3 methods are nvcc from CUDA toolkit, nvidia-smi from NVIDIA driver, and simply checking a file. Prerequisite Before we begin, you should have installed NVIDIA driver on your system as well as Nvidia CUDA toolkit, aka, CUDA. […]

Categories
PyTorch Python

How to Install PyTorch on Ubuntu 20.04 (pip & conda)

Here you will learn how to install PyTorch on Ubuntu 20.04 using either pip or conda. Specifically, you will learn how to install Python 3 and Python package manager, either pip or conda (Anaconda or Miniconda). You will also learn how to install CUDA through apt-get in the official repository of Ubuntu 20.04. Last but […]

Categories
Python PyTorch

How to Install PyTorch with CUDA 10.1

PyTorch is a widely known Deep Learning framework and installs the newest CUDA by default, but what about CUDA 10.1? If you have not updated NVidia driver or are unable to update CUDA due to lack of root access, you may need to settle down with an outdated version such as CUDA 10.1. Which means […]

Categories
Python PyTorch

How to Install PyTorch with CUDA 10.0

PyTorch is a popular Deep Learning framework and installs with the latest CUDA by default. If you haven’t upgrade NVIDIA driver or you cannot upgrade CUDA because you don’t have root access, you may need to settle down with an outdated version like CUDA 10.0. However, that means you cannot use GPU in your PyTorch […]

Categories
Python Linux

How to Install Miniconda on Ubuntu 20.04

What is Miniconda? Miniconda is a minimal free Conda installer. It’s a thin, bootstrap version that contains just conda, Python, the packages they depend on, and a limited range of other helpful modules like pip, zlib, and a few others. To install additional conda packages from Anaconda registry, using the conda install command. Installing Miniconda […]