PyTorch

Categories
Python PyTorch

How to install PyTorch 1.6.0 (conda & pip)

Here you will learn how to install PyTorch 1.6.0 through conda (Anaconda/Miniconda) and pip. PyTorch is a common Platform for Deep Learning and 1.6.0 is its latest version. Prerequisite This tutorial assumes you can run python and a package manager like pip or conda. Miniconda and Anaconda are both good, but miniconda is lightweight. We […]

Categories
PyTorch

How to Check PyTorch Version

Here you will learn how to check PyTorch version in Python or from command line through your Python package manager pip or conda (Anaconda/Miniconda). Prerequisite You should have installed PyTorch already, which is the assumption of this tutorial. If you have not install PyTorch, search install PyTorch — we have written a bunch of tutorial […]

Categories
PyTorch Python

How to install PyTorch 1.5 (conda & pip)

Here you will learn how to install PyTorch 1.5 (both 1.5.0 and 1.5.1) through conda (Anaconda/Miniconda) and pip. PyTorch is a common Platform for Deep Learning. A number of open source code or papers already use 1.5 and authors are likely never going to upgrade. Typically, however, PyTorch installation guides install the newest version by default. […]

Categories
Python PyTorch

How to install PyTorch 1.4.0 easily (conda & pip)

Here you will learn how to install PyTorch 1.4.0 through conda (Anaconda/Miniconda) and pip. PyTorch is a popular Deep Learning framework. A lot of open source code or papers still use 1.4 but PyTorch installation guides usually installs the latest version by default. Perhaps you already tried the latest version, but it does not work […]

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 […]