Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ludwig/e814b9c72183b313a4bbe5c13ffd43f5 to your computer and use it in GitHub Desktop.
Save ludwig/e814b9c72183b313a4bbe5c13ffd43f5 to your computer and use it in GitHub Desktop.

PyTorch C++ API Ubuntu Installation Guide

The best way to get a clean installation of PyTorch, is to install the pre-compiled binaries from the Anaconda distribution. Therefore, we need to setup Anaconda first.

Step 1: Install Anaconda

  • Go to the download section and download your desired Anaconda version for Linux

  • Run the downloaded shell script (the name of the script depends on your previous download), do
cd ~/Downloads
sh Anaconda3-2018.12-Linux-x86_64.sh 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment