title: How to know which gcc version to choose when compiling pytorch from source?
body: <p>I am working on installing PyTorch from source but am unsure about the specific dependency versions to use for the version of PyTorch I want to install. </p>
  
  <p>In particular, I noticed performance variations depending on the gcc version I use to compile PyTorch. Which compiler should I be using to get the best PyTorch performance?</p>
  
  <p>Tensorflow doc provides such useful information. They call it "Tested build configurations":
  <a href="https://www.tensorflow.org/install/source#tested_build_configurations" rel="nofollow noreferrer">https://www.tensorflow.org/install/source#tested_build_configurations</a>.</p>